OAuth2 token from Tumblr (Or consumer ID if basicAuth is true)
String of the endpoint to access
Optional
params: Record<string, string>Additional query parameters to send to the API, will be sent as a JSON body if the method is not GET
HTTP method to use
The API url to base the request off of
Whether or not to use the token as a basic API key rather than an OAuth2 token
Generated using TypeDoc
The function to access the Tumblr API. This function is used by the other functions in the project.
Returns
JSON response from the Tumblr API
Example
Link
https://www.tumblr.com/docs/en/api/v2