Quickstart
કોઈપણ ભાષામાં શરૂઆત કરો
FXMacroData API એ સર્વર-સાઇડ ઉપયોગ માટે એક પ્રમાણિત JSON REST API છે. HTTP સપોર્ટ ધરાવતી કોઈપણ ભાષા કામ કરે છે. USD જાહેરાત ડેટા, USD રિલીઝ કેલેન્ડર અને ડેટા કેટલોગ કી વગર મફત છે: સૌથી તાજેતરના 90 દિવસો, 15-મિનિટના રિલીઝ વિલંબ પર, પ્રતિ દિવસ 100 વિનંતીઓ સુધી. આગાહીના મૂલ્યો (USD સહિત), અન્ય દરેક કરન્સી, રીઅલ-ટાઇમ રિલીઝ અને સંપૂર્ણ ઇતિહાસ માટે API કીની જરૂર છે, જે X-API-Key header. જુઓ કે શું મફત છે
બેઝ URL
https://api.fxmacrodata.com
Authentication
X-API-Key: YOUR_API_KEY
Authorization: Bearer YOUR_API_KEY
વારસાગત ?api_key= ક્વેરી પેરામીટર હવે વપરાશમાં નથી: URL માં કીઝ લોગ્સમાં જાય છે.
રિસ્પોન્સ ફોર્મેટ
JSON (Content-Type: application/json)
openapi-generator-cli 40+ ભાષાઓમાં ક્લાયન્ટ્સ ઓટો-જનરેટ કરવા માટે.
Accept-Encoding: gzip દરેક વિનંતી પર (8–12× નાના પેલોડ્સ), પુનઃઉપયોગ કરો ETag રિસ્પોન્સ હેડર in If-None-Match પુનરાવર્તિત પોલ્સ પર (પરત કરે છે 304 Not Modified કોઈ બોડી વગર), અને પાસ કરો ?limit=50 સિંગલ-ઇન્ડિકેટર એન્ડપોઇન્ટ્સ પર જેમ કે /v1/announcements/usd/inflation અથવા /v1/predictions/usd/inflation જ્યારે તમને ફક્ત તાજેતરની રો (rows) ની જરૂર હોય. સંપૂર્ણ સંદર્ભ જુઓ →
limit 100. સુધી સ્વીકારે છે સંપૂર્ણ રેન્જ એકત્રિત કરવા માટે, આ વિનંતી ફરીથી કરો offset પર સેટ કરો pagination.next_offset until pagination.has_more is false. Python લૂપ જુઓ ↓
fetch() વેબ પેજ પરથી બ્રાઉઝર દ્વારા બ્લોક કરવામાં આવ્યું છે. તમારા બેકએન્ડથી FXMacroData કોલ કરો અને API કીને ક્લાયન્ટ-સાઇડ કોડથી દૂર રાખો.
core_pce USD માટે અસ્તિત્વ ધરાવે છે પરંતુ દરેક કરન્સી માટે નહીં. કરન્સી સપોર્ટ કરે છે તે દરેક સ્લગની યાદી મેળવો GET /v1/data_catalogue/{currency}, ઉદાહરણ તરીકે /v1/data_catalogue/usd. એક 200 જેનું data એરે ખાલી છે અને જે ધરાવે છે no_data.error_code: NO_DATA_IN_REQUESTED_WINDOW મતલબ છે કે સ્લગ માન્ય છે અને ફક્ત વિનંતી કરેલ તારીખ વિન્ડો ખાલી છે — વધારો start_date/end_date URL બદલવા અથવા ફરી પ્રયાસ કરવાને બદલે. 404 નો અર્થ છે કે કરન્સી અથવા ઇન્ડિકેટર સ્લગ ખોટો છે.
data_quality ઓબ્જેક્ટ. બેકટેસ્ટ્સ અને ઇન્સ્ટિટ્યુશનલ રિપોર્ટિંગ માટે, તપાસો point_in_time_safe, has_announcement_datetime, source_type, અને is_stale. point_in_time_safe જ્યારે પણ વિન્ડોમાં કોઈપણ રો શ્રેણીના માપવામાં આવેલા રિલીઝ લેગમાંથી મેળવેલ પબ્લિકેશન સમય ધરાવે છે ત્યારે તે ખોટું છે, તેથી તપાસો assumed_release_time_count અને પ્રતિ-રો release_time_assumed ખોટાને બિનઉપયોગી તરીકે ગણતા પહેલા ફ્લેગ કરો.
માર્કેટપ્લેસ એક્સેસ
FXMacroData થી RapidAPI નો ઉપયોગ કરો
RapidAPI એ FXMacroData REST API માટે એક વૈકલ્પિક માર્કેટપ્લેસ ચેનલ છે. FXMacroData ડેટા સપ્લાય કરે છે; RapidAPI તમારી માર્કેટપ્લેસ સબ્સ્ક્રિપ્શન, API કી, રિક્વેસ્ટ ક્વોટા અને બિલિંગનું સંચાલન કરે છે. આ ચેનલ દ્વારા રિક્વેસ્ટ માટે કોઈ અલગ FXMacroData એકાઉન્ટ અથવા કીની જરૂર નથી.
- ખોલો સત્તાવાર FXMacroData લિસ્ટિંગ અને એક પ્લાન પસંદ કરો. વર્તમાન કવરેજ, ક્વોટા અને રેટ લિમિટ માટે પ્રાઇસિંગ ટેબ તપાસો.
- એન્ડપોઈન્ટ પ્લેગ્રાઉન્ડમાંથી તમારી RapidAPI કી કોપી કરો અને તેને તમારા સર્વર એન્વાયરમેન્ટમાં આ રીતે સંગ્રહિત કરો
RAPIDAPI_KEY. - રિક્વેસ્ટ મોકલો
https://fxmacrodata1.p.rapidapi.comનીચે દર્શાવ્યા મુજબ બંને RapidAPI હેડર્સ સાથે.
curl --request GET \ --url "https://fxmacrodata1.p.rapidapi.com/v1/announcements/usd/inflation?limit=3" \ --header "X-RapidAPI-Key: $RAPIDAPI_KEY" \ --header "X-RapidAPI-Host: fxmacrodata1.p.rapidapi.com"
માર્કેટપ્લેસ એન્ડપોઈન્ટ કવરેજ
લિસ્ટિંગમાં જાહેરાતો, રિલીઝ કેલેન્ડર, ડેટા કેટલોગ, દૈનિક FX દર, COT પોઝિશનિંગ, સેન્ટ્રલ-બેંક સમાચાર, માર્કેટ સેશન્સ અને હેલ્થ ચેક સામેલ છે. કરન્સી અને હિસ્ટ્રી એક્સેસ તમારી RapidAPI પ્લાન પર આધારિત છે. સપોર્ટેડ ઇન્ડિકેટર સ્લગ્સ શોધવા માટે કેટલોગનો ઉપયોગ કરો.
સીધો FXMacroData એક્સેસ
આ પેજ પરના અન્ય ઉદાહરણો ઉપયોગ કરે છે api.fxmacrodata.com અને એક FXMacroData X-API-Key જ્યારે જરૂરી હોય ત્યારે. ચેનલો વચ્ચે કી અને સબ્સ્ક્રિપ્શન અલગ છે. RapidAPI સબ્સ્ક્રિપ્શન સૂચિબદ્ધ REST એન્ડપોઇન્ટ્સને આવરી લે છે; વેબસાઇટ સબ્સ્ક્રિપ્શન, MCP, આગાહીઓ, સ્ટ્રીમિંગ અને વેબહુક્સ અલગ ઓફરિંગ છે.
તમારી કી ને બ્રાઉઝર કોડ અને પબ્લિક રિપોઝીટરીઝથી દૂર રાખો. લાંબા પરિણામ સેટ માટે, અનુસરો pagination.next_offset until pagination.has_more ખોટું છે. તમારી API કી ક્યારેય સપોર્ટને મોકલશો નહીં.
પ્રથમ API કોલ
ક્વિક રિક્વેસ્ટ
પ્રથમ સ્નિપેટ જે તે રીતે ચાલે છે: USD ડેટા માટે કોઈ કીની જરૂર નથી, જે રિલીઝ થયાના 15 મિનિટ પછી પીરસવામાં આવે છે. ઉમેરો X-API-Key તમામ 22 ચલણ અને રીઅલ-ટાઇમ ડિલિવરી માટે, જે સર્વર, સ્ક્રિપ્ટ અથવા નોટબુકમાંથી મોકલવામાં આવે છે.
# USD inflation, no key: 15-minute delay, most recent 90 days
curl "https://api.fxmacrodata.com/v1/announcements/usd/inflation?limit=5"
# EUR inflation: add X-API-Key for all 22 currencies and real-time releases
curl -H "X-API-Key: YOUR_API_KEY" "https://api.fxmacrodata.com/v1/announcements/eur/inflation"
Python વિનંતીઓ
કોપી કરી શકાય તેવી Python API વિનંતીઓ
જ્યારે તમને SDK રેપરને બદલે કાચું API રિક્વેસ્ટ જોઈતી હોય ત્યારે આ સીધા REST ઉદાહરણોનો ઉપયોગ કરો. ફક્ત સુરક્ષિત રૂટ્સ પર YOUR_API_KEY બદલો.
USD ફુગાવા માર્કેટ કન્સન્સસ
વાસ્તવિક એનાઉન્સમેન્ટ્સ સાથે જોડાયેલ કન્સનસસ, સર્વે, સેન્ટ્રલ-બેંક, IMF, અને FXMacroData આગાહીઓ.
import requests
url = "https://api.fxmacrodata.com/v1/predictions/usd/inflation"
headers = {"X-API-Key": "YOUR_API_KEY"}
response = requests.get(url, headers=headers, timeout=20)
response.raise_for_status()
payload = response.json()
print(payload.get("data", payload))
known-at ટાઇમસ્ટેમ્પ્સ સાથે USD ઇન્ફ્લેશન
પોઇન્ટ-ઇન-ટાઇમ બેકટેસ્ટ માટે જાહેર USD ફુગાવાના રેકોર્ડ્સ.
import requests
url = "https://api.fxmacrodata.com/v1/announcements/usd/inflation"
response = requests.get(url, timeout=20)
response.raise_for_status()
payload = response.json()
print(payload.get("data", payload))
EUR/USD FX સ્પોટ હિસ્ટ્રી
જોડી ચાર્ટ્સ, મોડલ્સ અને રિલીઝ ઓવરલે માટે દૈનિક FX કિંમતનો ઇતિહાસ.
import requests
url = "https://api.fxmacrodata.com/v1/forex/eur/usd"
headers = {"X-API-Key": "YOUR_API_KEY"}
response = requests.get(url, headers=headers, timeout=20)
response.raise_for_status()
payload = response.json()
print(payload.get("data", payload))
AUD પોલિસી-રેટ ઇતિહાસ
નો-લુકઅહેડ રિસર્ચ માટે રિલીઝ ટાઇમિંગ સાથે સેન્ટ્રલ-બેંક નિર્ણયનો ઇતિહાસ.
import requests
url = "https://api.fxmacrodata.com/v1/announcements/aud/policy_rate"
headers = {"X-API-Key": "YOUR_API_KEY"}
response = requests.get(url, headers=headers, timeout=20)
response.raise_for_status()
payload = response.json()
print(payload.get("data", payload))
JPY આગામી રિલીઝ શેડ્યૂલ
આગામી મેક્રો ઇવેન્ટ્સ જેમાં એલર્ટ્સ, મોડેલ રિફ્રેશ અને ટ્રેડિંગ રિવ્યુના પ્લાનિંગ માટે UTC, માર્કેટ-લોકલ અને વિનંતી કરેલ ટાઇમઝોન ફીલ્ડ્સ છે.
import requests
url = "https://api.fxmacrodata.com/v1/calendar/jpy"
params = {
"timezone": "Asia/Tokyo",
}
headers = {"X-API-Key": "YOUR_API_KEY"}
response = requests.get(url, params=params, headers=headers, timeout=20)
response.raise_for_status()
payload = response.json()
print(payload.get("data", payload))
સોનાના કોમોડિટી ભાવ
દૈનિક મૂલ્યો અને ફેરફાર ફિલ્ડ્સ સાથે સત્તાવાર કિંમતી-ધાતુઓ સમય શ્રેણી.
import requests
url = "https://api.fxmacrodata.com/v1/commodities/gold"
headers = {"X-API-Key": "YOUR_API_KEY"}
response = requests.get(url, headers=headers, timeout=20)
response.raise_for_status()
payload = response.json()
print(payload.get("data", payload))
Python
સત્તાવાર ઇન્સ્ટોલ કરો fxmacrodata PyPI (1.2.x) પરથી પેકેજ. સિંક અને અસિંક ક્લાયન્ટ્સ સાદા JSON ડિક્શનરીઝ રિટર્ન કરે છે જે સીધા pandas માં લોડ થાય છે. Client() કોઈ કી વગરના રીડ્સ મફત USD સ્તરનો ઉપયોગ કરે છે; પાસ api_key દરેક અન્ય ચલણ અને રીઅલ-ટાઇમ ડિલિવરી માટે.
SDK નો ઉપયોગ કરીને
from fxmacrodata import Client # USD inflation — no key needed: 15-minute delay, most recent 90 days data = Client().get_indicator("usd", "inflation") print(data["data"][0]) # Add X-API-Key for all 22 currencies and real-time releases client = Client(api_key="YOUR_API_KEY") # EUR policy rate — requires API key rate = client.get_indicator("eur", "policy_rate") # Forex price data — requires API key fx = client.get_fx_price("usd", "jpy")
સીધી રીતે REST API નો ઉપયોગ કરી રહ્યા છો
import requests resp = requests.get( "https://api.fxmacrodata.com/v1/announcements/usd/inflation", timeout=30, ) resp.raise_for_status() payload = resp.json() print(payload["data_quality"]["point_in_time_safe"], payload["data"][0])
સંપૂર્ણ ઇતિહાસ દ્વારા પેજિંગ
import requests URL = "https://api.fxmacrodata.com/v1/announcements/eur/inflation" HEADERS = {"X-API-Key": "YOUR_API_KEY"} rows, offset = [], 0 while True: resp = requests.get( URL, params={"limit": 100, "offset": offset}, headers=HEADERS, timeout=30, ) resp.raise_for_status() page = resp.json() rows.extend(page["data"]) if not page["pagination"]["has_more"]: break offset = page["pagination"]["next_offset"] print(len(rows), "rows")
Async ક્લાયન્ટ
import asyncio from fxmacrodata import AsyncClient async def main(): async with AsyncClient(api_key="YOUR_API_KEY") as client: data = await client.get_indicator("eur", "inflation") print(data) asyncio.run(main())
Predictions & આગાહીઓ
ધ /v1/predictions/{currency}/{indicator} એન્ડપોઇન્ટ માર્કેટ સર્વસંમતિ સર્વેક્ષણો, સેન્ટ્રલ-બેંક પ્રોજેક્શન, IMF વર્લ્ડ ઇકોનોમિક આઉટલુક અને પ્રોફેશનલ-ફોરકાસ્ટર સર્વેક્ષણોમાંથી આગાહી ડેટા પ્રદર્શિત કરે છે. ચોક્કસ કરન્સી અને ઇન્ડિકેટર માટે આગાહીઓની વિનંતી કરવામાં આવે છે, જેમ કે https://api.fxmacrodata.com/v1/predictions/usd/inflation; ફક્ત ચલણ-માત્ર પ્રિડિક્શન વિનંતીઓ સમર્થિત નથી. દરેક પ્રિડિક્શન તેની જાહેરાત સાથે લિંક થયેલ છે via announcement_id, જેથી તમે ફોરકાસ્ટને રિયલાઇઝ્ડ ઓબ્ઝર્વેશન સાથે જોડી શકો.
prediction_type="fxmacrodata" એક FXMacroData-જનરેટેડ અંદાજ છે; સાચી સંકલિત સર્વસંમતિને લેબલ કરવામાં આવ્યું છે market_consensus. આગાહીની ઉપલબ્ધતા રિલીઝ મુજબ અલગ અલગ હોય છે — તપાસો કવરેજ મેટ્રિક્સ. લુક-અહેડ-ફ્રી રિસર્ચ માટે, અનુસરો પોઇન્ટ-ઇન-ટાઇમ બેકટેસ્ટિંગ માર્ગદર્શિકા.
/v1/predictions/coverage/{currency}. ટ્રાયલ અથવા પેઇડ કી આગાહીના મૂલ્યો પરત કરે છે.
Python — આગાહીઓ મેળવો અને વાસ્તવિક ડેટા સાથે જોડો
import requests HEADERS = {"X-API-Key": "YOUR_API_KEY"} # Predictions for USD inflation — requires API key preds = requests.get( "https://api.fxmacrodata.com/v1/predictions/usd/inflation", headers=HEADERS, timeout=30, ).json() for group in preds["data"]: print(group["announcement_id"], group["date"]) for p in group["predictions"]: print(f" {p['prediction_source_label']}: {p['predicted_value']}") # Filter by prediction type market = requests.get( "https://api.fxmacrodata.com/v1/predictions/usd/inflation", params={"prediction_type": "market_consensus"}, headers=HEADERS, timeout=30, ).json() # Join predictions with actuals using announcement_id actuals = requests.get( "https://api.fxmacrodata.com/v1/announcements/usd/inflation", headers=HEADERS, timeout=30, ).json() actuals_by_id = {row["announcement_id"]: row for row in actuals["data"]} for group in preds["data"]: actual = actuals_by_id.get(group["announcement_id"]) if actual: print(f"{group['date']}: actual={actual['val']}, forecast={group['predictions'][0]['predicted_value']}")
cURL — પ્રકાર દ્વારા અનુમાનો મેળવો
# Which sources forecast USD indicators — free, no key curl "https://api.fxmacrodata.com/v1/predictions/coverage/usd" # All USD inflation predictions — requires API key curl -H "X-API-Key: YOUR_API_KEY" "https://api.fxmacrodata.com/v1/predictions/usd/inflation" # Filter by prediction type: market_consensus, imf_weo, central_bank_forecast, survey curl -H "X-API-Key: YOUR_API_KEY" "https://api.fxmacrodata.com/v1/predictions/usd/inflation?prediction_type=market_consensus" # EUR policy-rate predictions curl -H "X-API-Key: YOUR_API_KEY" "https://api.fxmacrodata.com/v1/predictions/eur/policy_rate"
Prediction પ્રકારો સંદર્ભ
| prediction_type | વર્ણન |
|---|---|
| market_consensus | સંકલિત માર્કેટ અથવા અર્થશાસ્ત્રી ઘટના સર્વસંમતિ, જ્યાં ઉપલબ્ધ હોય |
| market_prediction | પ્રોફેશનલ-ફોરકાસ્ટર પોઇન્ટ પ્રિડિક્શન |
| model_nowcast | સેન્ટ્રલ-બેંક અથવા રિઝર્વ-બેંક મોડેલ નાઉકાસ્ટ |
| સર્વે | વ્યાવસાયિક આગાહીકારોનું સેન્ટ્રલ-બેંક સર્વે (દા.ત. ECB SPF) |
| central_bank_forecast | સત્તાવાર સેન્ટ્રલ-બેંક પ્રોજેક્શન (દા.ત. RBNZ MPS, BoC MPR) |
| central_bank_projection | ઓફિશિયલ સેન્ટ્રલ-બેંક પ્રોજેક્શન |
| imf_weo | IMF વર્લ્ડ ઇકોનોમિક આઉટલુક પ્રોજેક્શન |
| fxmacrodata | સેન્ટ્રલ-બેંક માર્ગદર્શન, સર્વેક્ષણો અને ઐતિહાસિક વલણોને જોડતી FXMacroData-જનરેટેડ આગાહી |
cURL
કોઈ ઇન્સ્ટોલેશનની જરૂર નથી. કોઈપણ ટર્મિનલ પરથી કામ કરે છે.
# USD inflation — no-key evaluation, up to 100 requests/day curl "https://api.fxmacrodata.com/v1/announcements/usd/inflation" # EUR policy rate — send your API key in the X-API-Key header curl -H "X-API-Key: YOUR_API_KEY" "https://api.fxmacrodata.com/v1/announcements/eur/policy_rate" # Release calendar for Australia — requires API key curl -H "X-API-Key: YOUR_API_KEY" "https://api.fxmacrodata.com/v1/calendar/aud" # Release calendar converted to a requested IANA timezone curl "https://api.fxmacrodata.com/v1/calendar/usd?indicator=gdp&timezone=America/Sao_Paulo" # Forex price history — requires API key curl -H "X-API-Key: YOUR_API_KEY" "https://api.fxmacrodata.com/v1/forex/usd/jpy" # Data catalogue (discover available indicators for USD) curl "https://api.fxmacrodata.com/v1/data_catalogue/usd"
JavaScript / TypeScript
Node.js (18+), Deno, અને Bun માં સર્વર-સાઇડ પર કામ કરે છે. API CORS હેડર્સ મોકલતું નથી, તેથી તેને બ્રાઉઝર કોડને બદલે તમારા બેકએન્ડથી કોલ કરો.
સત્તાવાર npm ક્લાયન્ટ
import { FXMacroDataClient } from "@fxmacrodata/client"; const client = new FXMacroDataClient({ apiKey: "YOUR_API_KEY", }); // Public endpoint example const usdInflation = await client.announcements("usd", "inflation"); // Non-USD endpoint example (requires paid key) const eurRate = await client.announcements("eur", "policy_rate"); console.log(usdInflation, eurRate);
Fetch નો સીધો ઉપયોગ કરીને
// USD inflation — no-key evaluation, up to 100 requests/day const res = await fetch( "https://api.fxmacrodata.com/v1/announcements/usd/inflation" ); const data = await res.json(); console.log(data); // With API key for non-USD const API_KEY = process.env.FXMD_API_KEY; const eur = await fetch( "https://api.fxmacrodata.com/v1/announcements/eur/policy_rate", { headers: { "X-API-Key": API_KEY } } ); console.log(await eur.json());
જાઓ
કોઈ એક્સટર્નલ પેકેજની જરૂર નથી — સ્ટાન્ડર્ડ લાઇબ્રેરી બધું હેન્ડલ કરે છે.
package main import ( "encoding/json" "fmt" "net/http" "io" ) func main() { // USD inflation — no-key evaluation, up to 100 requests/day resp, err := http.Get("https://api.fxmacrodata.com/v1/announcements/usd/inflation") if err != nil { panic(err) } defer resp.Body.Close() body, _ := io.ReadAll(resp.Body) var result map[string]interface{} json.Unmarshal(body, &result;) fmt.Println(result) }
R
જરૂરિયાત છે httr અને jsonlite.
library(httr) library(jsonlite) # USD inflation — no-key evaluation, up to 100 requests/day res <- GET("https://api.fxmacrodata.com/v1/announcements/usd/inflation") data <- fromJSON(content(res, "text", encoding = "UTF-8")) # Convert to data frame df <- as.data.frame(data$data) head(df) # With API key for non-USD eur <- GET( "https://api.fxmacrodata.com/v1/announcements/eur/policy_rate", add_headers(`X-API-Key` = "YOUR_API_KEY") ) print(fromJSON(content(eur, "text")))
Java
ઉપયોગો java.net.http (Java 11+). કોઈ બાહ્ય લાઇબ્રેરીઓની જરૂર નથી.
import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; public class FXMacroDataExample { public static void main(String[] args) throws Exception { var client = HttpClient.newHttpClient(); var request = HttpRequest.newBuilder() .uri(URI.create("https://api.fxmacrodata.com/v1/announcements/usd/inflation")) .build(); var response = client.send(request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body()); } }
C# / .NET
ઉપયોગો HttpClient (.NET 6+).
using System.Net.Http; using System.Text.Json; var client = new HttpClient(); // USD inflation — no-key evaluation, up to 100 requests/day var json = await client.GetStringAsync( "https://api.fxmacrodata.com/v1/announcements/usd/inflation" ); var doc = JsonDocument.Parse(json); Console.WriteLine(doc.RootElement);
MATLAB
બિલ્ટ-ઇન નો ઉપયોગ કરે છે webread ફંક્શન.
% USD inflation — no-key evaluation, up to 100 requests/day data = webread('https://api.fxmacrodata.com/v1/announcements/usd/inflation'); disp(data); % With API key for non-USD opts = weboptions('Timeout', 30, 'HeaderFields', {'X-API-Key', 'YOUR_API_KEY'}); url = 'https://api.fxmacrodata.com/v1/announcements/eur/policy_rate'; eur = webread(url, opts); disp(eur);
કોઈપણ ભાષા માટે ટાઇપ્ડ ક્લાયન્ટ જનરેટ કરો
FXMacroData API એક સંપૂર્ણ પ્રકાશિત કરે છે OpenAPI 3.1 સ્પેસિફિકેશન. તેનો ઉપયોગ કરો openapi-generator Kotlin, Swift, Rust, Dart, Ruby, PHP, અને 40+ અન્ય ભાષાઓ માટે સંપૂર્ણ રીતે ટાઇપ્ડ ક્લાયન્ટ્સ બનાવવા માટે.
# Install the openapi-generator CLI npm install @openapitools/openapi-generator-cli -g # Generate a Go client openapi-generator-cli generate \ -i https://api.fxmacrodata.com/openapi.json \ -g go \ -o ./fxmacrodata-go-client # Generate a Java client openapi-generator-cli generate \ -i https://api.fxmacrodata.com/openapi.json \ -g java \ -o ./fxmacrodata-java-client
બિલ્ડ કરવા માટે તૈયાર છો?
USD રિલીઝ ડેટા કી વગર કામ કરે છે, પ્રતિ દિવસ 100 વિનંતીઓ સુધી અને પ્રકાશનથી 15 મિનિટ પાછળ. રીઅલ-ટાઇમ રિલીઝ, આગાહીના મૂલ્યો, સંપૂર્ણ ઇતિહાસ, ઉચ્ચ મર્યાદાઓ અને દરેક કરન્સી માટે સબ્સ્ક્રાઇબ કરો.