https://github.com/yusufusta/eksipy
ekşi sözlük için unofficial ve private ASYNC API, giriş yapabilir; entry gönderebilirsiniz.
https://github.com/yusufusta/eksipy
eksi eksi-sozluk eksisozluk
Last synced: 12 months ago
JSON representation
ekşi sözlük için unofficial ve private ASYNC API, giriş yapabilir; entry gönderebilirsiniz.
- Host: GitHub
- URL: https://github.com/yusufusta/eksipy
- Owner: yusufusta
- License: gpl-3.0
- Created: 2020-10-16T16:31:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-08T11:20:17.000Z (about 5 years ago)
- Last Synced: 2025-06-09T13:05:44.291Z (about 1 year ago)
- Topics: eksi, eksi-sozluk, eksisozluk
- Language: Python
- Homepage: https://yusufusta.github.io/eksipy
- Size: 56.6 KB
- Stars: 18
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eksipy
kutsal bilgi kaynağı için unofficial ve private ASYNC API, giriş yapabilir; ~~mesaj gönderebilir~~, entry gönderebilirsiniz.
      
> bu proje mobil(rest) api veya herhangi bir api **kullanmamaktadır**. tamamen requests ile web'e istek gönderilmektedir. requests-html ile de (PyQuery) ile de parçalanmaktadır. _projenin temel amacı ekşi sözlükte ne yapabiliyorsanız bu kütüphane yapabilmektedir. v2.0 itibariyle çoğu fonksiyon desteklenmektedir._
> bu kütüphane **python 3.6** ve üstünde çalışmaktadır.
## 📦 Kurulum
[pip](https://pypi.org/) kullanarak kolay bir şekilde kurabilirsiniz:
```sh
pip install eksipy
```
## 🛠 Doküman
[Bu adresten](https://yusufusta.github.io/eksipy/) okuyabilirsiniz.
## 🔷 Örnek Kullanımlar
[Burdaki klasöre bakabilirsiniz](https://github.com/yusufusta/eksipy/tree/master/examples)
> Ayrıca hemen birkaç örnek verelim.
**Başlık entrylerini getirelim:**
```python
import eksipy
import asyncio
import os
async def getTopic():
eksi = eksipy.Eksi()
topic = await eksi.getTopic("php")
entrys = await topic.getEntrys()
for entry in entrys:
print("*" * 10)
print(entry.text())
print(entry.author.nick)
print("*" * 10)
loop = asyncio.get_event_loop()
loop.run_until_complete(getTopic())
```
## ☑️ To-Do
- [ ] Kendi Exception sınıflarımız.
- [ ] Olay.
- [x] Daha iyi bir dokümantasyon.
- [ ] Tüm kullanıcı istatistikleri, görseller, sorunsallar...
- [ ] Zengin bir CLI uygulaması
- [ ] Özel mesaj
- [x] Async
- [ ] Testler
- [ ] Sorunsallar
## 💻 Contributors
Developer [Yusuf Usta](https://t.me/fusuf), yusuf@usta.email
## 📒 License
eksipy is available under the GPLv3 license. See the LICENSE file for more info.