Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EVDS Connection Error alıyorum #9

Closed
Gormezoglu opened this issue Jun 29, 2023 · 6 comments
Closed

EVDS Connection Error alıyorum #9

Gormezoglu opened this issue Jun 29, 2023 · 6 comments
Assignees

Comments

@Gormezoglu
Copy link

Merhabalar,

TCMB Python API ile çalışmak için

from evds import evdsAPI
evds = evdsAPI(keys.CBRT_API)

kod blokunu çalıştırdığımda

Main categories couldn't load. Please check your API Key. uyarısı alıyorum.
API keyi kontrol ettim ve bir hata yok. Acaba API ulaşmak için başka bir authorization süreci mi çalıştırmam lazım ?
Cevap için şimdiden teşekkür ederim.

@fatihmete
Copy link
Owner

Merhaba,
Kontrol ettiğimde bir hata almadan bağlantı sağlanabiliyor. API key dışında bir yetki süreci gerekmiyor. Kullandığınız python sürümünü paylaşabilir misiniz?

@fatihmete fatihmete self-assigned this Jul 5, 2023
@Gormezoglu
Copy link
Author

Python 3.10.8 kullanıyorum. API key'i copy paste ile quote içinde quote'suz şekilde denedim. Aynı hatayı almaya devam ediyorum

@fatihmete
Copy link
Owner

Sorun pandas kütüphanesinin güncellenmesinden kaynaklanmakta. API tarafından numeric değerler string olarak gönderiliyor. Bunlar DataFrame'e dönüştürülürken float veya int'e dönüştürülüyor. Pandas bu durumda uygun olmayan bir veri tipi ile karşılaşırsa uyarı veriyordu. Ancak güncelleme ile bu dönüştürme işleminde uygun olmayan bir değer geldiğinde hata vermeye başlamış. Yeni sürüme (0.3.0) bu hatanın çözümü eklenecek. Geçici bir çözüm olarak aşağıdaki şekilde pandas sürümünü düşürebilirsiniz.

pip install pandas==1.5.3

fatihmete added a commit that referenced this issue Jul 5, 2023
@Gormezoglu
Copy link
Author

Çok teşekkür ederim.

Bu arada yeni sürümün geleceğini öğrenmek sevindirdi.

@fatihmete fatihmete reopened this Jul 9, 2023
@fatihmete
Copy link
Owner

Aşağıdaki komut ile paketi güncelleyip tekrar deneyebilir misiniz?

pip install evds --upgrade

@Gormezoglu
Copy link
Author

Gormezoglu commented Jul 11, 2023

Hocam bu sefer geldi veriler.

Teşekkür ederim desteğiniz için.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants