Initializing API Call. Setup the base_url, token and format.
Usage
mindat_connection(token, base_url = "https://api.mindat.org",fmt ="json",page_size = 800)
Arguments
- token
string. You can apply a token from Mindat.org.
- base_url
string.The base url of mindat API, default is "https://api.mindat.org".
- fmt
string. The format of the request and response, default is json.
- page_size
interger, setting the page size of responsed data from the API server.
Examples
mindat_connection("9ce67655d74bcd981e937be80dcea9cb",page_size = 1500)