friendlypins.user module¶
Interfaces for interacting with Pinterest users
-
class
friendlypins.user.
User
(data, rest_io)[source]¶ Bases:
object
Abstraction around a Pinterest user and their associated data
Parameters: - data (dict) – JSON data parsed from the API
- rest_io (
friendlypins.utils.rest_io.RestIO
) – reference to the Pinterest REST API
-
boards
¶ Generator for iterating over the boards owned by this user
Return type: Generator of friendlypins.board.Board