Skip to main content

Python library to interact with the Tinybeans API

Project description

Tinybeans API Wrapper (unofficial)

This library will allow you to interact with Tinybeans.


pip install pytinybeans


In [1]: from pytinybeans import PyTinybeans

In [2]: tb = PyTinybeans()

In [3]: tb.login('<username>', '<password>')

In [4]: print(tb.children)
[<Jane Doe 2019-10-16 00:00:00>]

In [5]: entry = tb.get_entries(tb.children[0])[0]

In [6]: entry.blobs
{'o': '<url>/<url>.jpg',
 'p': '<url>/<url>.jpg'}

In [7]: entry.comments[0].text
Out[7]: 'Ok, I got this!'


This isn't a wonderful example of API design, and there's some weirdness like using .format() in some places vs old style string replacement in others. In my defense, I was extremely sleep deprived, but it's functional :)

Project details

Download files

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

Files for pytinybeans, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size pytinybeans-1.1-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pytinybeans-1.1.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page