Let me ask a broader question, why do you say you should use SDK or API?

WBOY
Release: 2016-10-10 11:56:01
Original
1097 people have browsed it

Some service providers provide access in two ways, api and sdk. For example, for service providers that send emails, why do they say that they must use api or sdk?

What does

mean?

How to use php to access api?

Reply content:

Some service providers provide access in two ways: api and sdk. For example, for service providers that send emails, why do they say that they must use api or sdk?

What does

mean?

How to use php to access api?

The SDK is a "framework" they have developed. You can put it into the program and call simple related codes.
If you use the API, you need to write the code yourself to operate the API

API: Small and beautiful, it will not interfere too much with how you write the code. It is similar to a black box. You only need to give it the parameters it needs and receive the parameters it returns. Other business logic is based on your own actual scenarios, with a high degree of freedom and is suitable for some relatively simple functional modules
SDK: more complex and technically difficult functional modules, such as chat modules, etc., which are common if you are not a large company All are done by calling third-party services

sdk: software development kit, which means that the service provider has further encapsulated its own API to facilitate developers to use it directly

For SDK, what should I do if the service provider makes changes?
Does anyone have sample code for calling the api in PHP?
How to start writing?
How to use PHP’s curl library to communicate with the api?

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!