Skip to main content

A Python tellonym api

Project description

Tellonym API

Creating the API

import tellonym_api

api = tellonym_api.TellonymApi()

How to check if a user exists!

import tellonym_api

api = tellonym_api.TellonymApi()

user = api.GetUser("[your user]")
if user.IsProfileFound() == True:
    #profile is existing
else:
    #profile isnt existing!

Simple User Getter

import tellonym_api

api = tellonym_api.TellonymApi()
user = api.GetUser("[user]")
if not user.IsProfileFound() == True:
    exit("Profile isnt existing!")

user.FetchFollowers()
user.FetchFollowings()
user.FetchTells()

print(user.GetTells())
print(user.GetFollowers())
print(user.GetFollowings())

Made with <3 by PatchByte

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tellonym-1.0.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

tellonym-1.0.0-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page