Wrapper around the latest Tuenti API.
Install using pip
, including any optional packages you want...
$ pip install python-tuenti
...or clone the project from github.
$ git clone git@juanriaza/python-tuenti.git
$ cd python-tuenti
$ pip install -r requirements.txt
With your credentials:
from tuenti import TuentiSocialMessenger user = 'yosoycani@hotmail.com' password = 'olakase' t = TuentiSocialMessenger.from_credentials(user, password)
…or you can retrieve some auth data and save it for later…
auth_token, installation_id = t.get_auth_data()
…to use the API without your credentials:
t = TuentiSocialMessenger.from_auth_token(user, auth_token, installation_id)
And fire some requests:
# single request data = t.request('Feed_getShareFeed', {'max': 20}) # with a shortcut data = t.Feed_getShareFeed({'max': 20}) # multiple request data = t.mrequest(('User_getRelationshipData'), ('Feed_getShareFeed', {'max': 20}), ...)
All the available requests are documented here.
27th Nov 2013
9th Jan 2012
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4