friendlypins.pin module¶
Primitives for operating on Pinterest pins
-
class
friendlypins.pin.
Pin
(url, rest_io, json_data=None)[source]¶ Bases:
friendlypins.utils.base_object.BaseObject
Abstraction around a Pinterest pin
- Parameters
-
static
default_url
(unique_id)[source]¶ Generates a URL for the REST API endpoint for a pin with a given identification number
-
property
media_type
¶ descriptor for the type of data stored in the pin’s link
Returns None if the type of data associated with the Pin is unknown
- Type