I don’t much about using APIs and I guess none using Schema or Hypermedia formats. Is all this possible in perspective? If so how do I start?
import coreapi
# Initialize a client & load the schema document
client = coreapi.Client()
schema = client.get("http://somedomain/api-doc/")
# Interact with the API endpoint
action = ["part", "read"]
params = {
"id": ...,
}
result = client.action(schema, action, params=params)