Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyzn/www-eksi
WWW::Eksi - Interface for Eksisozluk.com
https://github.com/kyzn/www-eksi
cpan eksisozluk hacktoberfest perl perl5
Last synced: 8 days ago
JSON representation
WWW::Eksi - Interface for Eksisozluk.com
- Host: GitHub
- URL: https://github.com/kyzn/www-eksi
- Owner: kyzn
- Created: 2018-11-23T14:14:45.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2020-06-13T19:05:44.000Z (over 4 years ago)
- Last Synced: 2025-01-12T13:50:24.499Z (14 days ago)
- Topics: cpan, eksisozluk, hacktoberfest, perl, perl5
- Language: Perl
- Homepage: https://metacpan.org/pod/WWW::Eksi
- Size: 86.9 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# NAME
WWW::Eksi - Interface for Eksisozluk.com
# DESCRIPTION
An interface for Eksisozluk, a Turkish social network.
Provides easy access to entries and lists of entries.# SYNOPSIS
use WWW::Eksi;
my $e = WWW::Eksi->new;# Last week's most popular entries
my @ghebe_fast = $e->ghebe; # might get rate limited
my @ghebe_slow = $e->ghebe(5); # add a politeness delay# Yesterday's most popular entries
my @debe_fast = $e->debe; # might get rate limited
my @debe_slow = $e->debe(5); # add a politeness delay# Alternative list of yesterday's popular entries
my @doludolu_fast = $e->doludolu; # might get rate limited
my @doludolu_slow = $e->doludolu(5); # add a politeness delay# Single entry
my $entry = $e->download_entry(1);# METHODS
## new
Returns a new WWW::Eksi object.
## download\_entry($id)
Takes entry id as argument, returns its data (if available) as follows.
{
entry_url => Str
topic_url => Str
topic_title => Str
topic_channels => [Str]author_name => Str
author_url => Str
author_id => Intbody_raw => Str
body_text => Str (html tags removed)
body_processed => Str (html tags processed)
fav_count => Int
create_time => DateTime
update_time => DateTime
}## ghebe($politeness\_delay)
Returns an array of entries for top posts of last week.
Ordered from more popular to less popular.## debe($politeness\_delay)
Returns an array of entries for top posts of yesterday.
Ordered from more popular to less popular.## doludolu($politeness\_delay)
Returns an array of entries with alternative top posts of yesterday.
Ordered from more popular to less popular.# AUTHOR
Kivanc Yazan ``
# CONTRIBUTORS
Mohammad S Anwar, ``
# COPYRIGHT AND LICENSE
This software is copyright (c) 2020 by Kivanc Yazan.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.Content you reach by using this module might be subject to copyright
terms of Eksisozluk. See eksisozluk.com for details.