#!/usr/bin/perl
use strict;
use warnings;
use JSON;
my $curl_string = `curl -s http://api.twitter.com/1/trends/1.json`;
my $json_result = from_json($curl_string);
foreach my $trend (@{$json_result->[0]->{'trends'}}) {
print $trend->{'name'} . "\n";
}
This script requires that you install the Perl JSON module by Makamaka Hannyaharamitu. This can easily be done either by downloading and compiling it from cpan.org or by running the cpan command line interface and typing "install JSON".
I'm also using the curl binary to execute the request by executing a system call from inside Perl. You can also use the perl bindings for libcurl to execute the request.
The Twitter REST API v1 is no longer active. Please migrate to API v1.1.
ReplyDeleteyurtdışı kargo
ReplyDeleteresimli magnet
instagram takipçi satın al
yurtdışı kargo
sms onay
dijital kartvizit
dijital kartvizit
https://nobetci-eczane.org/
N7OZ
salt likit
ReplyDeletesalt likit
dr mood likit
big boss likit
dl likit
dark likit
Dİ1O
ayvalık transfer
ReplyDeleteçeşme transfer
urla transfer
akbük transfer
davutlar transfer
8OUTY