V
V
Vladimir Mironov2014-07-08 22:02:59
PHP
Vladimir Mironov, 2014-07-08 22:02:59

How to work with API (Resource in the example)?

Hello.
Here is the sign - antizapret.info
Here is the API - antizapret.info/api.php
Question: how can I make this sign displayed on my resource?
I don’t understand how to work with the API at all, now I want to learn. What is needed for this?
Any example of this, if possible.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2014-07-08
@Siseod

echo file_get_contents(" api.antizapret.info/all.php ");
Although it’s more correct through curl, it takes longer to paint.
And be sure to cache the results, there is a limit of 1000 requests.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question