खुला डेटा र APIOpen data and API
गतिका सबै सूचना खुला र स्थिर (static) फाइलमा छन्। कुनै साँचो (key) चाहिँदैन। हरेक सूचनामा मूल स्रोतको लिङ्क र समय हुन्छ। हजुरले प्रयोग गर्दा मूल स्रोत र "गति मार्फत" उल्लेख गर्नुहोस्।All Gati data is open, as static files. No key is needed. Every item carries its original source link and time. When you reuse it, credit the original agency and "via Gati".
फाइलहरूEndpoints
| ठेगानाPath | ढाँचाFormat | के छContents |
|---|---|---|
atom.xml | Atom 1.0 | सबै CAP सन्देशको सूची, नयाँ पहिले। हरेक entry मा CAP फाइल र स्थायी पानाको लिङ्क।Index of every CAP message, newest first, linking each CAP file and permalink. |
feed.xml | Atom 1.0 | पुरानो ठेगाना; atom.xml कै प्रति। नयाँ प्रयोगमा atom.xml लिनुहोस्।Legacy address, a copy of atom.xml. Use atom.xml for new work. |
cap/<identifier>.xml | CAP 1.2 | एउटा सूचनाको पूरा CAP सन्देश (ne-NP र en)। जस्तैOne full CAP message (ne-NP and en). Example cap/np.gati.dhm-aarughat-2026-10-11.xml |
data/alerts.json | JSON | घटना मात्र। districts मा NP-DISTRICT कोड, chain मा संस्करण, supersededBy, expired।Events only. districts holds NP-DISTRICT codes; chain lists versions; also supersededBy, expired. |
data/districts.geojson | GeoJSON | ७७ जिल्ला, id = NP-DISTRICT (COD-AB adm2_pcode)।77 districts, id = NP-DISTRICT (COD-AB adm2_pcode). |
data/localunits.geojson | GeoJSON | ७७५ स्थानीय तह, id = NP-LOCALUNIT (adm3_pcode)।775 local units, id = NP-LOCALUNIT (adm3_pcode). |
data/rivers.json | JSON | DHM नदी मापन केन्द्रका पछिल्ला रिडिङ।Latest DHM river gauge readings. |
data/roads.json | JSON | मुख्य सडकको अवस्था, स्रोतसहित।Main road status, with sources. |
data/sources.json, data/source-health.json | JSON | स्रोतको सूची र अवस्था।Source registry and health. |
आफ्नो साइटमा राख्नुहोस्Embed widget
यो कोड हजुरको साइटमा टाँस्नुहोस्। district मा जिल्लाको नाम (जस्तै gorkha) वा कोड (जस्तै NP0436), size मा s, m वा l, lang मा ne वा en।Paste this into your site. district takes a slug (e.g. gorkha) or a code (e.g. NP0436); size is s, m or l; lang is ne or en.
<iframe src="https://nirajbhusal.github.io/gati-alerts/embed/?district=gorkha&size=m"
width="360" height="420" style="border:0" loading="lazy" title="Gati alerts"></iframe>
नमुनाPreview:
नियमTerms
- मूल निकाय र मूल लिङ्क सधैँ देखाउनुहोस्।Always show the original agency and link.
- गतिको सूचनालाई आधिकारिक चेतावनी भनेर नदेखाउनुहोस्।Do not present Gati items as official warnings issued by Gati.
- म्याद सकिएका र फिर्ता लिइएका सूचना पनि अभिलेखमा रहन्छन्;
expiredरchainहेर्नुहोस्।Expired and withdrawn items stay in the archive; checkexpiredandchain.