I admit not a LC issue but I just wanted to ask just in case someone had any hints on how to solve this problem.
I`m wanting to call an Oxford English Dictionary API but not sure where to put my app_id and app_key info.
The API stem is simple enough: https://od-api.oxforddictionaries.com/api/v2
and is then followed by the search word: https://od-api.oxforddictionaries.com/api/v2/livecode
They give of examples of how to call the API in other languages, for example in python it`s (https://developer.oxforddictionaries.co ... ng_started):
import requests
import json
app_id = "<your_app_id>"
app_key = "<your_app_key>"
language = "en-gb"
word_id = "example"
url = "https://od-api.oxforddictionaries.com:4 ... 2/entries/" + language + "/" + word_id.lower()
r = requests.get(url, headers={"app_id": <your_app_id>, "app_key": <your_app_key>})
but I was unable to adapt this for use in LC.
I guess what I need is something like:
Code: Select all
https://od-api.oxforddictionaries.com/api/v2/entries/en-gb/livecode/app_id=XXX/app_key=XXX
A long shot i know.... but in case anyone does know....!
Thanks,
Glenn