A Python library to interact with CodeBottle's API. This is obviously still in development.
from codebottle import CodeBottle
cb = CodeBottle()
# Results of a search
search = cb.snippets.get(keywords='java').data
# Get a snippet
snippet = cb.snippets.get('91f98993c8').data
# Get newest snippets
browse = cb.snippets.new().data
From git:
pip install git+https://github.com/codebottle-io/codebottle-python.git
- Convert dicts to classes