waehrungs-umrechner.php


Quell Code


<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

<h3> Api von : <a href="https://de.1forge.com/">https://de.1forge.com/</a></h3>
Kurs ist :<select id="kursist">
<option>EUR</option>
<option>USD</option>
<option>JPY</option>
<option>CHF</option>
<option>AUD</option>
<option>CAD</option>
<option>NZD</option>
<option>GBP</option>
<option>SEK</option>
<option>NOK</option>
<option>MXN</option>
<option>TRY</option>
<option>ZAR</option>
<option>CNH</option>
<option>XAU</option>
<option>XAG</option>
<option>SGD</option>
<option>RUB</option>
<option>HKD</option>
<option>DKK</option>
<option>PLN</option>
<option>BTC</option>
<option>ETH</option>
<option>LTC</option>
<option>XRP</option>
<option>DSH</option>
<option>BCH</option>
</select>
Kurs haben wollen :
<select id="kursholen">
<option>EUR</option>
<option>USD</option>
<option>JPY</option>
<option>CHF</option>
<option>AUD</option>
<option>CAD</option>
<option>NZD</option>
<option>GBP</option>
<option>SEK</option>
<option>NOK</option>
<option>MXN</option>
<option>TRY</option>
<option>ZAR</option>
<option>CNH</option>
<option>XAU</option>
<option>XAG</option>
<option>SGD</option>
<option>RUB</option>
<option>HKD</option>
<option>DKK</option>
<option>PLN</option>
<option>BTC</option>
<option>ETH</option>
<option>LTC</option>
<option>XRP</option>
<option>DSH</option>
<option>BCH</option>
</select>
Betrag :<input type="text" id="geld" ><input id="but" type="button" value="Umrechnen">
<h1 style="color:red">Diese Api gibt es auch nicht mehr Kostenlos</h1>
<h3>Falls jemand noch eine Kostenlose alternative kennt bitte bescheid sagen</h3>
<script>
//https://de.1forge.com/
$('#but').click(function(){
is=$('#kursist').val();
hab=$('#kursholen').val();
money=$('#geld').val();
/*
     $.ajax({
          type: 'GET',
         url: 'https://forex.1forge.com/1.0.1/convert?from=USD&to=EUR&quantity=100',
        //  url: 'https://forex.1forge.com/1.0.3/convert?from='+is+'&to='+hab+'&quantity='+money+'&api_key=bodGdPAmWJFFJuw4dBlFxyA0oq9JoA1h',
          data: {},
          success: function(data){ 
               $('#ausgabe').html('Kurs :'+data['value']+'<br>In Worten :'+data['text']+'<br>Timestamp: '+data['timestamp']);
          }
     });
     */
          $.ajax({
          type: 'GET',
           url: 'https://forex.1forge.com/1.0.3/quota?api_key=bodGdPAmWJFFJuw4dBlFxyA0oq9JoA1h',
          data: {},
          success: function(data){ 
           $('#ausgabe1').html('<hr>quota_used: '+data['quota_used']+'<br> Limit :'+data['quota_limit']+'<br>  Restabfragen : '+data['quota_remaining']+'<br> Anfragen Heute : '+data['hours_until_reset']);
          }
          });

});
</script>
<div id="ausgabe"></div>
<div id="ausgabe1"></div>


Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0