Downloads a sound file in its original quality.
Downloads a sound file in its original quality.
the identifier of the sound (i.e. Sound#id
)
the file to write to
Downloads a file, such as the sound file preview in its reduced preview quality.
Downloads a file, such as the sound file preview in its reduced preview quality.
the URI to the file, e.g. as obtained from a Preview
instance.
the file to write to
Given an authorization code obtained by the user via https://www.freesound.org/apiv2/oauth2/authorize/?client_id=XXX&response_type=code requests actual access keys.
Reads a Json file containing authorization access.
Reads a Json file containing an object with fields
id
and secret
, specifying a client or application's
access keys to Freesound (http://www.freesound.org/apiv2/apply).
Given an existing access key that is or might expire, requests an fresh new access key.
Performs a text-based search and returns the total count of matches.
Performs a text-based search and returns the total count of matches.
the query term(s)
a filter definition constraining the search results
Performs a text-based search.
Performs a text-based search.
the query term(s)
a filter definition constraining the search results
the order in which the results will be sorted
if true
, groups results by sound pack (collection)
the maximum number of result items to obtain. If the search
yields more items that this number, only the first maxItems
items will be received.
URL for image renderings.
URL for image renderings. Contains four %s
placeholders:
sound-id.div(1000), sound-id, user-id, wave_L.png-vs-wave_M.png-vs-spec_L.jpg-vs-spec_M.jpg
URL for inspecting the sound on the Freesound website.
URL for inspecting the sound on the Freesound website.
Two placeholders %s
and %s
will be replaced by the user-name and the sound id.
URL for downloading a sound.
URL for downloading a sound.
A placeholder %s
will be replaced by the sound id.
URL for sound previews.
URL for sound previews. Contains five %s
placeholders:
sound-id.div(1000), sound-id, user-id, lq-vs-hq, ogg-vs-mp3.
Note: this should be removed, as the server organisation seems
to be a moving target; instead we need the indirection via previews
query field.
URL for starting a text search.
URL for web-based application authorization by user.
URL for web-based application authorization by user. Contains one %s
placeholder:
The public client id (client.id
).
Writes a Json file containing authorization access.