Skip to content

Unofficial API for retrieving airdrop games in JSON format. including details like daily bonuses, rewards, secret codes, and more.

License

Notifications You must be signed in to change notification settings

NabiKAZ/Airdrop-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 

Repository files navigation

About

Unofficial API for retrieving airdrop games in JSON format. including details like daily bonuses, rewards, secret codes, and more.

Supported Airdrops

This API supports the following airdrops:

More airdrops will be added as the project expands.

Usage

This fixed address contains the required data that you can read and use in your code:

https://nabikaz.github.io/Airdrop-API/config.json

Sample codes

python:

import requests

url = "https://nabikaz.github.io/Airdrop-API/config.json"
response = requests.get(url)
data = response.json()

print(data)

nodejs:

import fetch from 'node-fetch';

const url = 'https://nabikaz.github.io/Airdrop-API/config.json';

fetch(url)
    .then(response => response.json())
    .then(data => {
        console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });

php:

<?php
$url = 'https://nabikaz.github.io/Airdrop-API/config.json';
$json = file_get_contents($url);
$data = json_decode($json, true);

print_r($data);

go:

package main

import (
	"encoding/json"
	"fmt"
	"io/ioutil"
	"net/http"
)

func main() {
	url := "https://nabikaz.github.io/Airdrop-API/config.json"

	resp, err := http.Get(url)
	if err != nil {
		fmt.Println("Error:", err)
		return
	}
	defer resp.Body.Close()

	body, err := ioutil.ReadAll(resp.Body)
	if err != nil {
		fmt.Println("Error:", err)
		return
	}

	var data map[string]interface{}
	json.Unmarshal(body, &data)

	fmt.Println(data)
}

How it works

This is a collaborative work of a group of friends who periodically record the required data on this project.

Participation

If you want to participate in updating the file, contact @NabiKAZ on Telegram or Twitter.

Supporter

Nothing! Just give a star on the GitHub page, we will be happy. (:

Donation

If this project was useful for you and you are willing, you can make me happy by giving a Star at the top of this GitHub page. Also this is my wallet address for Donate: \

  • USDT (TRC20): TEHjxGqu5Y2ExKBWzArBJEmrtzz3mgV5Hb
  • TON: UQAzK0qhttfz1kte3auTXGqVeRul0SyFaCZORFyV1WmYlZQj

About

Unofficial API for retrieving airdrop games in JSON format. including details like daily bonuses, rewards, secret codes, and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •