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: boolAncestors
- builtins.dict
Class variables
var creator : Creatorvar id : intvar is_approved : boolvar is_published : boolvar name : strvar public_url : strvar thumbnail : strvar 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: ThingiverseAppAncestors
- builtins.dict
Class variables
var accepts_tips : boolvar bio : strvar bio_html : strvar collection_count : intvar copies_url : strvar count_of_designs : intvar count_of_followers : intvar count_of_following : intvar country : strvar cover_image : strvar current_app : ThingiverseAppvar default_license : strvar favorite_count : intvar first_name : strvar full_name : strvar groups : List[Optional[str]]var has_favorite : boolvar id : intvar industry : strvar is_admin : boolvar last_active : datetime.datetimevar last_name : strvar like_count : intvar likes_url : strvar location : strvar make_count : intvar name : strvar printers : List[Optional[str]]var programs : List[Optional[str]]var public_url : strvar registered : datetime.datetimevar skill_level : strvar subindustry : strvar things_url : strvar thumbnail : strvar twitter : Optional[str]var types : List[Optional[str]]var url : strvar website : Optional[str]