Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Python library for Gomiso

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.md
Octocat-spinner-32 gomiso.html
Octocat-spinner-32 gomiso.py
README.md

Gomiso Python

Python library for interacting with Gomiso

Purpose

This library is my first attempt at coding using Python. I learned Python while coding it so this is not the proper Python code you'll ever see but it's functional

Contributing

When to contribut? Please contact me instead of forking the project.

Usage

The code is documented but here is a simple example of how to use the library:

consumer_key = 'XXXXXX'
consumer_secret = 'YYYYYY'
username = 'AAAAA'
password = 'BBBBB'
tokensFile = 'path_to_file_where_we_will_store_tokens'

letsGo = gomiso()
if letsGo.authentification(consumer_key, consumer_secret, username, password, tokensFile):
    json_result = json.loads(letsGo.getUserInfo())
    print 'Hello user: ' + json_result['user']['username']
else:
    print 'Something is wrong'

Documentation generated using the following command line: >python.exe pydoc.py -w gomiso wrote gomiso.html >

About me

You will find more about me through my blog

Something went wrong with that request. Please try again.