Answer the question
In order to leave comments, you need to log in
How to connect API?
Hello. I want to learn how to connect the API for the site.
How to do it? What is the best to read? Where can I see an example? Etc.
Not very strong in php. So the standard instructions are not particularly suitable.
An example that could be connected ping-admin.ru/texts/60.html is the simplest example. I don't think it's hard to do something!
Answer the question
In order to leave comments, you need to log in
You first need to understand how your site works. And in general, is it in php.
In order to understand this in most cases, php has to be studied. At least to the middle level.
Ordinary site owners can sometimes get by with ready-made plugins for various popular CMS.
1. Write all these functions for the site (inside) and make them available for various requests (Rest API).
2. Write the scripts themselves that will access through this api and parse the data.
wiki toster
1) general principles: habrahabr.ru/post/144011
2) find out what the site is on and google more specifically
What is the best to read?
)) First you need to understand that an API is an interface that needs to be implemented. Connect the services of third-party systems. APIs from the backend of these systems are often public + have documentation with instructions on how to work from the client side with their API. This means that you need to implement code that will make requests to a third-party service, according to its documentation. If PHP is not particularly strong - forget it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question