Module thingiverse.types.users
Expand source code
from datetime import datetime
from typing import Optional, Text, TypedDict, List
from thingiverse.types.search import Creator
class ThingiverseApp(TypedDict):
"""Thingiverse app"""
id: int
name: Text
url: Text
public_url: Text
thumbnail: Text
creator: Creator
is_published: bool
is_approved: bool
class ThingiverseUser(TypedDict):
"""Thingiverse User model"""
id: int
name: Text
first_name: Text
last_name: Text
full_name: Text
url: Text
public_url: Text
thumbnail: Text
bio: Text
bio_html: Text
location: Text
country: Text
industry: Text
subindustry: Text
registered: datetime
last_active: datetime
cover_image: Text
things_url: Text
copies_url: Text
likes_url: Text
printers: List[Optional[Text]]
programs: List[Optional[Text]]
types: List[Optional[Text]]
skill_level: Text
accepts_tips: bool
groups: List[Optional[Text]]
website: Optional[Text]
twitter: Optional[Text]
count_of_followers: int
count_of_following: int
count_of_designs: int
collection_count: int
make_count: int
like_count: int
has_favorite: bool
favorite_count: int
is_admin: bool
default_license: Text
current_app: ThingiverseApp
Classes
class ThingiverseApp (*args, **kwargs)
-
Thingiverse app
Expand source code
class ThingiverseApp(TypedDict): """Thingiverse app""" id: int name: Text url: Text public_url: Text thumbnail: Text creator: Creator is_published: bool is_approved: bool
Ancestors
- builtins.dict
Class variables
var creator : Creator
var id : int
var is_approved : bool
var is_published : bool
var name : str
var public_url : str
var thumbnail : str
var url : str
class ThingiverseUser (*args, **kwargs)
-
Thingiverse User model
Expand source code
class ThingiverseUser(TypedDict): """Thingiverse User model""" id: int name: Text first_name: Text last_name: Text full_name: Text url: Text public_url: Text thumbnail: Text bio: Text bio_html: Text location: Text country: Text industry: Text subindustry: Text registered: datetime last_active: datetime cover_image: Text things_url: Text copies_url: Text likes_url: Text printers: List[Optional[Text]] programs: List[Optional[Text]] types: List[Optional[Text]] skill_level: Text accepts_tips: bool groups: List[Optional[Text]] website: Optional[Text] twitter: Optional[Text] count_of_followers: int count_of_following: int count_of_designs: int collection_count: int make_count: int like_count: int has_favorite: bool favorite_count: int is_admin: bool default_license: Text current_app: ThingiverseApp
Ancestors
- builtins.dict
Class variables
var accepts_tips : bool
var bio : str
var bio_html : str
var collection_count : int
var copies_url : str
var count_of_designs : int
var count_of_followers : int
var count_of_following : int
var country : str
var cover_image : str
var current_app : ThingiverseApp
var default_license : str
var favorite_count : int
var first_name : str
var full_name : str
var groups : List[Optional[str]]
var has_favorite : bool
var id : int
var industry : str
var is_admin : bool
var last_active : datetime.datetime
var last_name : str
var like_count : int
var likes_url : str
var location : str
var make_count : int
var name : str
var printers : List[Optional[str]]
var programs : List[Optional[str]]
var public_url : str
var registered : datetime.datetime
var skill_level : str
var subindustry : str
var things_url : str
var thumbnail : str
var twitter : Optional[str]
var types : List[Optional[str]]
var url : str
var website : Optional[str]