API pro vyhledani ICO

240 views
Skip to first unread message

Robert Šmol

unread,
Oct 4, 2011, 4:42:59 AM10/4/11
to djan...@googlegroups.com
Ahoj,

potreboval bych na stranku nechat uzivatele vyplnit ICO a pak si pres JS nejake API dohledat zbytek o firme (nazev, dic, adresu,...), resil nekdo neco, existuje takove API?

Pripadne python API?

robert

starenka .

unread,
Oct 4, 2011, 5:00:32 AM10/4/11
to djan...@googlegroups.com
o API nevim, nicmene porad je tu tahle zrudnost http://www.justice.cz/xqw/xervlet/insl/index?sysinf.@typ=or&sysinf.@strana=searchSubject
---
In Perl you shoot yourself in the foot, but nobody can understand how you did it. Six months later, neither can you. | print 'aknerats'[::-1]


2011/10/4 Robert Šmol <smol....@gmail.com>

Plovarna

unread,
Oct 4, 2011, 5:19:37 AM10/4/11
to djan...@googlegroups.com, Robert Šmol, starenka .
Anebo se optej primo chlapcu z Fakturoidu, ti to maji nejak udelane.

M.

Václav Řehák

unread,
Oct 4, 2011, 5:12:05 AM10/4/11
to django-cs

> potreboval bych na stranku nechat uzivatele vyplnit ICO a pak si pres JS
> nejake API dohledat zbytek o firme (nazev, dic, adresu,...), resil nekdo
> neco, existuje takove API?

Já používám ARES (http://wwwinfo.mfcr.cz/ares/) s XML rozhraním.

ARES_URL = 'http://wwwinfo.mfcr.cz/cgi-bin/ares/darv_std.cgi?
aktivni=false&ico=%s'
url = ARES_URL % ico
dom = minidom.parse(urllib.urlopen(url))

a vyparsuju, co potřebuju.

V.

Pavel Chaloupka

unread,
Oct 4, 2011, 5:54:18 AM10/4/11
to djan...@googlegroups.com
Já používám http://wwwinfo.mfcr.cz/ares/ares_xml.html.cz mám na to napsanou i třídu v pythonu, jsem psal kamarádovi takovou utilitku na kontrolu faktur do firmy.

2011/10/4 Plovarna <mic...@plovarna.cz>

starenka .

unread,
Oct 4, 2011, 6:09:15 AM10/4/11
to djan...@googlegroups.com
Aha, dik. To se bude hodit. V tom pripade tohle uz ma vyznam jen jako moje lehky mentalni cviceni https://gist.github.com/1261292

---
In Perl you shoot yourself in the foot, but nobody can understand how you did it. Six months later, neither can you. | print 'aknerats'[::-1]


2011/10/4 Václav Řehák <reha...@gmail.com>
Reply all
Reply to author
Forward
0 new messages