Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- SHA512
- RAII
- Functional
- type_traits
- Android
- WebView
- AES
- sha256
- Observer
- web
- CustomTab
- SHA1
- async
- ChromeTab
- go
- Reflect
- coroutines
- Scala
- Clojure
- stringprintf
- c++
- Chrono
- traits
- design pattern
- haskell
- sprintf
- ranges
- program
- kotlin
- template
Archives
- Today
- Total
목록python (1)
프로그래밍 검색 블로그
python REST API 사용법 JSON 파싱
1234567891011121314151617import urllib.requestimport json""" 나오는 응답 {'success': True, 'message': '', 'result': {'Bid': 4025.00092321, 'Ask': 4026.60175655, 'Last': 4024.00915298}} Bid : 살 때, Ask : 팔 때, Last : 최근 거래 가격"""coin_address = "https://bittrex.com/api/v1.1/public/getticker?market=USDT-BTC" req = urllib.request.urlopen(coin_address)res = req.readline() j = json.loads(res)print(j["result"]..
python
2019. 3. 21. 23:20