Skip to content

ricardocabral/potion-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

Potion client

A client for REST APIs documented using JSON-schema in general, and Flask-Potion in particular.

Example

c = Client('http://localhost/api/schema')

Project = c.Project
Project.instances
Project.instances.where(key=value)

p = Project(1)
p.name = "super project"
p.save()

User = c.User
u = User()
u.name = "Name"
u.projects = [p]
u.save()

query = Project.instances.where(user=u)

Dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%