Ontvang nu dagelijks onze kooptips!

word abonnee
IEX 25 jaar desktop iconMarkt Monitor

Valuta BTC/USD IEX:20162.IEX,

Laatste koers (usd) Verschil Volume
96.794,22   -1.677,51   (-1,70%) Dagrange 95.781,21 - 99.016,78 0  

crypto voorspellingen 2023

350 Posts
Pagina: «« 1 ... 9 10 11 12 13 ... 18 »» | Laatste | Omlaag ↓
  1. [verwijderd] 20 juni 2023 08:27
    voor de liefhebber php api coinmarketcap van nieuwe coins ;

    $api_key = 'your api';
    $days_old = 7; // get cryptocurrencies that are at most 7 days old

    // Get the current timestamp and subtract the number of days old we want to consider
    $date = new DateTime();
    $date->sub(new DateInterval('P' . $days_old . 'D'));
    $timestamp_limit = $date->getTimestamp();

    // Make the API request
    $url = 'https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest';
    $headers = [
    'Accepts: application/json',
    'X-CMC_PRO_API_KEY: ' . $api_key
    ];
    $qs = http_build_query([
    'start' => '1',
    'limit' => '5000',
    'convert' => 'USD'
    ]);
    $full_url = "{$url}?{$qs}";

    $curl = curl_init();
    curl_setopt_array($curl, [
    CURLOPT_URL => $full_url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => $headers,
    CURLOPT_SSL_VERIFYPEER => false
    ]);
    $response = curl_exec($curl);
    $result = json_decode($response, true);

    // Loop over the cryptocurrencies and print the ones that are at most $days_old days old
    foreach ($result['data'] as $crypto) {
    $added_date = new DateTime($crypto['date_added']);
    $added_timestamp = $added_date->getTimestamp();

    if ($added_timestamp > $timestamp_limit) {
    echo "New cryptocurrency: " . $crypto['name'] . " (" . $crypto['symbol'] . ")\n";
    echo "Date added: " . $crypto['date_added'] . "\n";
    echo "Current price: $" . $crypto['quote']['USD']['price'] . "\n";
    echo "------------------------\n";
    }
    }

    curl_close($curl);

    ?>
  2. [verwijderd] 24 juni 2023 08:29
    vanaf 2022 nog verlies :
    "name": "voorSpellingsDisk ",
    "ticker": "vdX ",
    "pointsStart": 100,
    "pointsLast": 26.061179942587145,
    "pointsChange": -73.93882005741285,
    "pointsChangeProcent": -73.93882005741285,
    "spaceShipOperatorChange": -1,
    "lastStatus": "true",
    "year": 2022,
    "timeStamp": "Sat, 24 Jun 23 06:25:19 +0000"
350 Posts
Pagina: «« 1 ... 9 10 11 12 13 ... 18 »» | Laatste |Omhoog ↑

Meedoen aan de discussie?

Word nu gratis lid of log in met je emailadres en wachtwoord.