BaseCratesAPI class

Implementers

Constructors

BaseCratesAPI(String applicationName)
BaseCratesAPI.custom(String applicationName, String registry, String apiRoot)
BaseCratesAPI.withRoot(String applicationName, String apiRoot)

Properties

apiRoot String
The base path of api (/api/v1)
getter/setter pair
applicationName String
This should uniquely identify your application, it ´ is recommended to follow the syntax: "my_app (my_app.com/info)". You can read more about crates.io's Crawler policy on https://crates.io/policies#crawlers
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
registry String
The domain of the crates.io registry (crates.io)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createClient() → Client
getJSON(String path) Future
getURI(String apiPath) Uri
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited