GithubHelp home page GithubHelp logo

yusufusta / eksipy Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 4.0 58 KB

ekşi sözlük için unofficial ve private ASYNC API, giriş yapabilir; entry gönderebilirsiniz.

Home Page: https://yusufusta.github.io/eksipy

License: GNU General Public License v3.0

Python 100.00%
eksi eksisozluk eksi-sozluk

eksipy's Introduction

eksipy

kutsal bilgi kaynağı için unofficial ve private ASYNC API, giriş yapabilir; mesaj gönderebilir, entry gönderebilirsiniz.

PyPI - License DeepSource PyPI - Downloads

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 kullanarak kolay bir şekilde kurabilirsiniz:

pip install eksipy

🛠 Doküman

Bu adresten okuyabilirsiniz.

🔷 Örnek Kullanımlar

Burdaki klasöre bakabilirsiniz

Ayrıca hemen birkaç örnek verelim.

Başlık entrylerini getirelim:

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.
  • Daha iyi bir dokümantasyon.
  • Tüm kullanıcı istatistikleri, görseller, sorunsallar...
  • Zengin bir CLI uygulaması
  • Özel mesaj
  • Async
  • Testler
  • Sorunsallar

💻 Contributors

Developer Yusuf Usta, [email protected]

📒 License

eksipy is available under the GPLv3 license. See the LICENSE file for more info.

eksipy's People

Contributors

deepsourcebot avatar yusufusta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eksipy's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.