Sample Codes

All API calls can be made using the POST or GET method to "https://amsapi.nextzen.com.bd/api/v1/data"! Please see the sample code for more details.

Following https://amsapi.nextzen.com.bd/api/v1/data. See Below for Sample Codes:

Python:
import requests

url = "https://amsapi.nextzen.com.bd/data?request_type=log&api_key=M5biUBjMt1cvXeayCizIqY4pAl41YA&date_from=2022-06-01&date_to=2022-07-10&time_from=07:00:00&time_to=21:00:00"

payload={}
headers = {}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
JavaScript:
var settings = {
  "url": "https://amsapi.nextzen.com.bd/data?request_type=log&api_key=M5biUBjMt1cvXeayCizIqY4pAl41YA&date_from=2022-06-01&date_to=2022-07-10&time_from=07:00:00&time_to=21:00:00",
  "method": "GET",
  "timeout": 0,
};

$.ajax(settings).done(function (response) {
  console.log(response);
});

af

Last updated