Skip to content

jujum4n/OneNamePy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

OneNamePy

###Description:

  • Simple Python API, to preform calls for JSON data on Onename.io and data on the namecoin blockchain via opendig ons_resolver.
  • Profile Data creation functions for namecoin client for v0.2 (almost done need to test around facebook and facebook proof)
  • Last updated for http://opennamesystem.org/ - V0.2 schema on 9/10/2014

###Example Usage:

  • Most Objects are returned as a String object when possible, or JSON
import Onename
print "OneNameJsonUrl: " + getOneNameJsonURL("juju")
print "OneName.io URL: " + getOneNameURL("juju")
data=getOneNameJson("juju")
print "Bitcoin Address: " + getBitcoin(data)
print "Real Name: " + getRealName(data)
print "PGP Fingerprint: " + getPGPFingerPrint(data)
print "PGP Keyserver URL: " + getPGPURL(data)
print "Cover image URL: " + getCover(data)
print "Avatar image URL: " + getAvatar(data)
print "Graph image URL: " + getGraph(data)
print "Twitter: " + getTwitter(data)
print "Twitter URL: " + getTwitterURL(data)
print "Github: " + getGithub(data)
print "Github URL: " + getGithubURL(data)
print "Location: " + getLocation(data)
print "Website: " + getWebsite(data)
print "Bio: " + getBio(data)
print "Version: " + getVersion(data)

###Output:

OneNameJsonUrl: https://onename.io/juju.json
Bitcoin Address: 1jujuGykhtsMigKzZY7UDcfL2pWgKCK8u
Real Name: Justin Chase
PGP Fingerprint: 49E530348A9D9C2FB9F51C245C12E062A840EB1F
PGP Keyserver URL: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x5C12E062A
840EB1F
Cover image URL: https://s3.amazonaws.com/dx3/juju
Avatar image URL: https://s3.amazonaws.com/kd4/juju
Graph image URL: https://s3.amazonaws.com/grph/juju
Twitter: @jujum4n
Twitter URL: http://twitter/@jujum4n
Github: jujum4n
Github URL: https://github.com/jujum4n
Location: California
Website: http://jujuman.org
Bio: Stay Digital
OneName.io URL: https://onename.io/juju
Version: 0.2

###Example Usage:

import Onename
getAllBTCAddrs("c:\usernamelist","c:\outputlist.csv")

###Output .csv file:

USERNAME1,BITCOINADDRESS
USERNAME2,BITCOINADDRESS
...
...
USERNAME100,BITCOINADDRESS
USERNAME101,BITCOINADDRESS

###Donate: 1jujuGykhtsMigKzZY7UDcfL2pWgKCK8u

About

Simple Python API, to preform RESTAPI Calls for the JSON data on Onename.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages