Skip to main content

Son dakika haberleri çekebilmenize yarar.

Project description

haberpy

Son dakika haberleri çekebilmenize yarar.

Installation

Use the package manager pip to install foobar.

pip install -U haberpy

Usage

from haberpy import Haberler

haber = Haberler()

# returns 'text'
text = haber.text(limit=1)
"En güncel haber metinlerini çeker."

# returns 'img'
img = haber.img(limit=1)
"En güncel haberlere dair görselleri çeker."

# returns 'ornekler'
text, img = haber.text_and_img(limit=1)
"Güncel haberlerin metin ve görselini tek istekte verir."

######### Sport #####################

from haber.sport import Sport

spor = Sport()

# returns 'title'
spor.title(limit=1)
"Güncel spor haberine ait başlığı çeker."

# returns 'about'
spor.about(limit=1)
"Güncel spor haberine ait içeriği çeker."

# returns 'img'
spor.img(limit=1)
"Güncel spor haberine ait görseli çeker."

License

MIT

Contact

Telegram - Github - Discord: emree#0010

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

haberpy-0.0.2.tar.gz (14.9 kB view details)

Uploaded Source

File details

Details for the file haberpy-0.0.2.tar.gz.

File metadata

  • Download URL: haberpy-0.0.2.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for haberpy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f270d62176fc2cadfcc86e80eb904a0521424f9761f159e0427ab11c5c00fe4e
MD5 bf0f569baad2f2d210f99a607929fc17
BLAKE2b-256 73e5ce216ef8ca52cb81e3bfc6428892ca05cdc9eee89b74c694a7355b8e101a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page