Initializing The Client
Project ID
At the moment all API calls must be made against a project (this may change in the future). We recommend creating a dummy project to make API calls against. You can do this through the app and find the project ID in the editor URL, for example:
https://app.metafold3d.com/editor/2315
The above URL indicates the project ID is 2315.
Initialization
With an access token and project ID you can now initialize the
metafold.MetafoldClient and begin making API calls!
from metafold import MetafoldClient
access_token = "..."
project_id = "123"
metafold = MetafoldClient(access_token, project_id)
Follow our Quickstart guide or jump straight into some more complete examples in the source code repo.