mirror of
https://github.com/FranP-code/countries.git
synced 2025-10-13 00:02:15 +00:00
feat: Country.capital
This commit is contained in:
@@ -31,6 +31,7 @@ A public GraphQL API for information about countries, continents, and languages.
|
|||||||
country(code: BR) {
|
country(code: BR) {
|
||||||
name
|
name
|
||||||
native
|
native
|
||||||
|
capital
|
||||||
emoji
|
emoji
|
||||||
currency
|
currency
|
||||||
languages {
|
languages {
|
||||||
@@ -49,6 +50,7 @@ The above GraphQL query will produce the following JSON response:
|
|||||||
"country": {
|
"country": {
|
||||||
"name": "Brazil",
|
"name": "Brazil",
|
||||||
"native": "Brasil",
|
"native": "Brasil",
|
||||||
|
"capital": "Brasília",
|
||||||
"emoji": "🇧🇷",
|
"emoji": "🇧🇷",
|
||||||
"currency": "BRL",
|
"currency": "BRL",
|
||||||
"languages": [
|
"languages": [
|
||||||
|
|||||||
Reference in New Issue
Block a user