Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 0a094efcae
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (30 sloc) 1.027 kb
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<?php
require "./lib/WeatherApi.php";
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<?php
$here = dirname(__FILE__);
set_include_path(ini_get('include_path').":${here}/vendor/arc90-service-twitter/lib");
$weather = new WeatherApi();
// ({start date}, {num days to recover})
$weather->get_24h_periods('97214',strtotime('Tomorrow'),2);
// var_dump(strlen($weather->description()));die;
// echo get_include_path();die;
//
//
require_once 'Arc90/Service/Twitter.php';
$username = '__test__test__';
$password = 'holycrap!';
$twitter = new Arc90_Service_Twitter($username, $password);
$timeline = $twitter->test('json');
$timeline = $twitter->updateStatus($weather->description(),'json');
echo($timeline);
?>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.