+ 3
you need many line code, to get api and access data from it. I show you a simple thing to get data from api using php. Generally, it is JSON base. So, I am try to get data from a JSON $content = file_get_contents("Your_api_url"); $result = json_decode($content); print_r( $result->access_the_data ); Hope it helps. Yeap, I know it is small line of code, but when you see in java. It is just a different thing. Anyway, happy coding 😊
1st Dec 2016, 1:34 PM
Aditya kumar pandey
Aditya kumar pandey - avatar