Utopian.io API¶
-
class
utopian_api.client.
Client
¶ Bases:
object
-
API_BASE_URL
= 'https://api.utopian.io/api/'¶
-
bot_is_voting
¶ Returns true if the Utopian.io bot is currently voting.
-
count
(query_params=None)¶ Returns the count of posts that satisfy the given query_params.
Parameters: query_params (dict) – Query parameters
-
is_moderator
(account)¶ Returns true if account is a Utopian.io moderator.
Parameters: account (string) – A Steemit username
-
is_sponsor
(account)¶ Returns true if account is a Utopian.io sponsor.
Parameters: account (string) – A Steemit username
-
moderators
¶ Returns JSON containing all Utopian.io moderators.
-
post
(account, permlink)¶ Returns JSON containing information about a post.
Parameters: - account (string) – A Steemit username
- permlink (string) – A permlink of a post
-
posts
(query_params=None)¶ Returns JSON containing all posts that satisfy the given query_params.
Parameters: query_params (dict) – Query parameters
-
sponsors
¶ Returns JSON containing all Utopian.io sponsors.
-
stats
¶ Returns JSON containing statistics about Utopian.io.
-