slaveofcode / rajaongkir

Simple Python module to grab api data from rajaongkir.com
MIT License
6 stars 6 forks source link

Error Cost #2

Closed dhanipro closed 5 years ago

dhanipro commented 5 years ago

hi, saya memiliki error pada bagian ini cost = api.cost_between_city(55, 23, 1000, 'all')

saya menggunakan python 3.7

pesan errror adalah

raise ApiErrorException('Response Api is None, cannot fetch the status of api') rajaongkir.api.ApiErrorException: Response Api is None, cannot fetch the status of api

Untuk api yang lainnya bekerja dengan baik seperti

get province list

list_of_city = api.provinces()

get cities based on province_id

list_of_city = api.cities_by_province(9)

Mohon bantuannya

Rahmat-Afriyadi commented 3 years ago

sama cuy gw nyoba juga gk bisa

i-Programer commented 2 years ago

Sama