Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
01-29-2014, 02:20 AM #1
- Join Date
- Dec 2010
- Sheffield, UK
- Thanked 1 Time in 1 Post
Retrieving Information From An API
Hi there. Firstly, the only reason I've posted this thread in the JS section is cos I genuinely have no idea where it goes, and this makes the most sense to me. Hope I'm right in thinking that. Sorry if it could have been better placed.
The API that I intend to retrieve information from is called the LMI For All API, and basically consists of lots of statistics on careers in the UK. The explorer for the API can be found here: http://api.lmiforall.org.uk/. The problem is, there's no real documentation to go with it, and the only thing that indicates to me how I might go about working with it is located in the FAQ: http://www.lmiforall.org.uk/questions-and-answers/. Under the question "What skills would my web developers need to use this?", the answer states:
The LMIForAll Data API works exactly like many other APIs that are commonly embedded in websites, such as the Google, Twitter or Facebook APIs. Your developers will commonly need knowledge of
… and anything else that your website front end needs to work.
These are fairly low technical requirements. Note that querying the API is made even simpler by the fact that you cannot change or update the data, so your developers can get by entirely on GET requests.
Essentially then, what I'm looking for is an explanation to a total newbie - as detailed as can be, if possible - on retrieving information from a server and how it's done. Specifically, if the following questions could be answered, I'd be a very happy chap:
- In a case such as this, what would be the best/standard/recommended method to retrieve information from a server?
- What is a GET request, how does it work, and should I use one in this case? If I should, how do I?
- If not, what should I use?
I understand that I'm asking quite a lot, but as I said, having had no experience with anything of the sort, I'm kinda overwhelmed with what's in front of me, and I really do need to know. Therefore, I'd appreciate the education and anyone willing to educate a newbie.
Thanks a lot in advance,
01-29-2014, 03:31 PM #2
- Join Date
- Jan 2011
- Thanked 695 Times in 693 Posts
There is a wiki here http://collab.lmiforall.org.uk/doku.php
It has a demo app here collab.lmiforall.org.uk/lib/exe/fetch.php?media=apidemo.zip
I tried it and put chef into the job search, that returned
Select the job you want:
SOC Code Job Title
9273 Waiters and waitresses
9272 Kitchen and catering assistants
Clicking the SOC gave me job and pay information, but in a general way.
Give that a try and if your still having problems come on back.
Luck to ya.
Evolution - The non-random survival of random variants.
"If you leave hydrogen alone, for long enough, it begins to think about itself."