API¶
-
class
speedcurve.
SpeedCurve
(api_key=None, session=None)¶ Stored session information.
-
add_deployment
(site_id=None, note=None, detail=None)¶ Add a deployment and trigger round of testing.
Parameters: - site_id (int) – (optional) site id to trigger deploy.
- note (string) – (required) short note used on site
- detail (string) – (optional) detail to display for more context
Returns:
-
get_deployment
(id)¶ Retrieve a deployment specified by id.
Params int id: (required) id of deployment Returns: Deployment
-
get_latest_deployment
()¶ Retrieve latest deployment.
Returns: Deployment
-
notes
()¶ Retrieve all notes for main site in User’ account.
Returns: Generator of Note
-
sites
()¶ Retrieve all sites for account.
-
-
class
speedcurve.tests.
Test
(json, session=None, api_key=None)¶ The
Test
object.
-
class
speedcurve.urls.
Url
(json, session=None, api_key=None)¶ The
Url
object.
-
class
speedcurve.deployments.
Deployment
(json, session=None, api_key=None)¶ Deployment class.