friendlypins.utils.rest_io module¶
Abstraction around the raw Pinterest REST API calls
-
class
friendlypins.utils.rest_io.
RestIO
(authentication_token)[source]¶ Bases:
object
Interface for low level REST API interactions
- Parameters
authentication_token (str) – Personal API token for authenticating to REST API
-
delete
(path)[source]¶ Sends a delete request to a remote endpoint
- Parameters
path (str) – API endpoint to send delete request to
-
get_pages
(path, properties=None)[source]¶ Generator for iterating over paged results returned from API