Skip to main content

API wrapper for myjson

Project description

Quickly, freely host json data with this Python wrapper for the free beta service.

Warning: Anyone can read and alter this data as soon as you post it…


pip install myjson

Use as module:

>>> import myjson
>>> import json
>>> url ={"test": "ing"}))
>>> url
>>> json.loads(myjson.get(url))["test"]
>>> id ={"alpha": "beta"}), update=url, id_only=True)
>>> print(myjson.get(id))
>>> print(myjson.get(url))
>>> id
>>> url

As a script

~$ myjson -h
usage: myjson [-h] {get,store} ...

A python commandline utility for working with

positional arguments:
  {get,store}  mjson commands

optional arguments:

  -h, --help   show this help message and exit

~$ myjson store example.json

~$ myjson get ut5n --compact


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 (3.5 kB view hashes)

Uploaded source

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