-
-
Notifications
You must be signed in to change notification settings - Fork 0
Services
Peter Araujo edited this page Jul 28, 2024
·
1 revision
There is a service for every resource.
Services can be obtain using:
{Resource} + Service
For example, to get Artwork service:
val artworkService = ArtworkService()All resources are available.
You can configure how a service process requests through its constructor.
For example, to change the JSon it uses to parse responses:
val myCustomJson = Json {
ignoreUnknownKeys = false
}
val artworkService = ArtworkService(
json = myCustomJson
)