Skip to content

Commit

Permalink
Adds ioc country codes
Browse files Browse the repository at this point in the history
  • Loading branch information
fayderflorez committed Oct 3, 2017
1 parent 6897020 commit 10f515f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/main/java/eu/fayder/restcountries/v2/domain/Country.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public class Country extends BaseCountry {
private Translations translations;
private String flag;
private List<RegionalBloc> regionalBlocs;
private String cioc;

public List<Currency> getCurrencies() {
return currencies;
Expand All @@ -34,4 +35,8 @@ public String getFlag() {
public List<RegionalBloc> getRegionalBlocs() {
return regionalBlocs;
}

public String getCioc() {
return cioc;
}
}
2 changes: 1 addition & 1 deletion src/main/resources/countriesV2.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions src/main/webapp/flatdoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Get information about countries via a RESTful API

[![Build Status](https://travis-ci.org/fayder/restcountries.svg?branch=master)](https://travis-ci.org/fayder/restcountries)

*Current version: 2.0.4*
*Current version: 2.0.5*

Donate!
---------------
Expand Down Expand Up @@ -261,7 +261,8 @@ https://restcountries.eu/rest/v2/alpha/col
"name": "Union of South American Nations",
"otherAcronyms": ["UNASUR", "UNASUL", "UZAN"],
"otherNames": ["Unión de Naciones Suramericanas", "União de Nações Sul-Americanas", "Unie van Zuid-Amerikaanse Naties", "South American Union"]
}]
}],
"cioc": "COL"
}]
```

Expand Down

0 comments on commit 10f515f

Please sign in to comment.