This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"timestamp":1496507778, | |
"services":{ | |
"mailboxes":{ | |
"updated_at":1496484309, | |
"frequency":86400 | |
}, | |
"entities":{ | |
"updated_at":1496463914, | |
"frequency":86400 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type":405, | |
"total":60, | |
"pages":1, | |
"data":[ | |
{ | |
"number":"60498005", | |
"name":"Tiskárna Ministerstva vnitra", | |
"type":331, | |
"founded_at":820450800, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type":405, | |
"total":67, | |
"pages":1, | |
"data":[ | |
{ | |
"number":"70107823", | |
"name":"JICA ALUMNI společnost v České republice", | |
"type":706, | |
"founded_at":971391600, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type":410, | |
"total":118, | |
"pages":1, | |
"data":[ | |
{ | |
"address_id":9789553, | |
"address_text":"Letenská 99, 51743 Potštejn", | |
"lat":50.0811822732124, | |
"lon":16.3045681018007, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type":410, | |
"total":10, | |
"pages":1, | |
"data":[ | |
{ | |
"address_id":21700184, | |
"address_text":"Letenská 525/15, Malá Strana, 11800 Praha 1", | |
"lat":50.0891504200274, | |
"lon":14.4071951833973, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"address_id":21700184, | |
"city_code":554782, | |
"city":"Praha", | |
"city_area1":"Praha 1", | |
"city_area2":"Praha 1", | |
"district_code":490121, | |
"district":"Malá Strana", | |
"street":"Letenská", | |
"number_type":"č.p.", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 | Podnikající osoba tuzemská | |
---|---|---|
101 | Fyzická osoba podnikající dle živnostenského zákona nezapsaná v obchodním rejstříku | |
102 | Fyzická osoba podnikající dle živnostenského zákona zapsaná v obchodním rejstříku | |
104 | Samostatně hospodařící rolník zapsaný v obchodním rejstříku | |
105 | Fyzická osoba podnikající dle jiných zákonů než živnostenského a zákona o zemědělství nezapsaná v obchodním rejstříku | |
106 | Fyzická osoba podnikající dle jiných zákonů než živnostenského a zákona o zemědělství zapsaná v obchodním rejstříku | |
107 | Zemědělský podnikatel - fyzická osoba nezapsaná v obchodním rejstříku | |
108 | Zemědělský podnikatel - fyzická osoba zapsaná v obchodním rejstříku | |
111 | Veřejná obchodní společnost | |
112 | Společnost s ručením omezeným |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vzory sestavení adresy ve výstupech z registru územní identifikace. | |
Podle vyhlášky: https://www.zakonyprolidi.cz/cs/2011-359 | |
Pro data: https://nahlizenidokn.cuzk.cz/StahniAdresniMistaRUIAN.aspx | |
1. V Praze | |
Arnošta Valenty 670/31 | |
Černý Most | |
19800 Praha 9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)test3QueryResultFound { | |
XCTestExpectation * expectation = [self expectationWithDescription:@"Prints all accounts"]; | |
GDErrorResponse failure = ^(const GDError * error) { | |
XCTFail(@"%@", error.localizedDescription); | |
}; | |
GDEntityResponse success = ^(const GDEntity * entity) { | |
XCTAssertNotNil(entity, "Entity Found"); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GovData.findEntityByNumber('00006947', | |
function(entity) { | |
console.info('Název:', entity.getName()); | |
if(entity.hasVAT()) { | |
console.info('Je plátcem DPH.'); | |
var vat = entity.getVAT(); | |
if(vat.hasAccounts()) { | |
var accounts = vat.getAccounts(); |
NewerOlder