what is API? and
how to get data through API in windows form application?
please give me demo of this..
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sunny SharmaPosted Jun 20, 2013, 8:26 AM
pooja thoratPosted Jun 20, 2013, 8:12 AM
Jignesh TrivediPosted Jun 19, 2013, 11:06 PM
hi,
Application Programming Interface is set of function or methods which help us to perform certain process. it might be in form of dll or webservices.
it might be built in API or custom API.
Please refer
http://www.c-sharpcorner.com/UploadFile/amungale/CSandAPIAM12062005073907AM/CSandAPIAM.aspx
MVC 4.0 is allow you to create webAPI
hope this will help you.
Sunny SharmaPosted Jun 19, 2013, 11:00 AM
Let me introduce you first with the API thing. Have you ever used a library in C#? Yes, that's an API. An API (Application Programming Interface is something that let's you interact with something or with an interface.
They are just a set of functions you can call. They have their documentation on what they do, how they behave, what input(s) they need to perform as intended.
For example, using Win32 API you can interact with Windows, using Twitter API you can interact with Twitter... etc. They could be Interacting with Windows as well as Web both.
Its a doorway into the programming model that a company exposes so you can enhance or extend some capability they provide. For example, Facebook wants to help programmers develop applications that work with their platform. So they offer a library that you include with your application to access data in the Facebook system.
Basically you start using an API by downloading it's library or development kit (SDK), reading it's Manual (Documentation). Let's take Facebook for an example. Go to developers.facebook.com. Search for "SDK". Download the version for your platform. Look at the samples. Try them. Change them to do something slightly different.
Refer to this link for example:
https://developers.google.com/maps/documentation/javascript/demogallery
This demonstrates to the various use of Google Maps API.
Hope I've answered your question.
Mark this as answer if it helped.
Cheers