friendlypins.thumbnail module
Primitives for operating on Pinterest pins
-
class
friendlypins.thumbnail.
Thumbnail
(data)[source]
Bases: object
Abstraction around a Pin’s thumbnail
Parameters: |
- data (dict) – Raw Pinterest API data describing a thumbnail
- root_url (str) – URL of the Pinterest REST API
- token (str) – Authentication token for interacting with the API
|
-
height
The height of the thumbnail image, in pixels
-
url
Source URL where the thumbnail image can be found
-
width
The width of the thumbnail image, in pixels