morning-train / toggl-api Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Hello,
The endpoint url for client update has not been updated.
https://github.com/Morning-Train/toggl-api/blob/feature/apiv9-update/src/TogglApi.php#L70 should be:
# api/v9/workspaces/{workspaceId}/clients/{clientId}
return $this->workspace($workspaceId)->updateClient($clientId, ['client' => $clientData]);
instead of:
# api/v9/clients/{clientId}
return $this->PUT('clients/'.$clientId, ['client' => $clientData]);
that leads to 404.
toggl.com or www.toggl.com will no longer be a supported entry point for the Toggl Track API check:
Hi, I use this code, which worked a week ago:
<?php
use Carbon\Carbon;
require __DIR__ . '/vendor/autoload.php';
$toggl = new MorningTrain\TogglApi\TogglApi( '[TOKEN]' );
$first = Carbon::now()->startOfMonth();
$last = Carbon::now()->endOfMonth();
$entries = $toggl->getTimeEntriesInRange( $first->toIso8601String(), $last->toIso8601String() );
print_r( $entries );
But now, it returns:
stdClass Object
(
[success] =>
[message] => Client error: `GET https://www.toggl.com/api/v8/time_entries?start_date=2017-09-01T00%3A00%3A00%2B02%3A00&end_date=2017-09-30T23%3A59%3A59%2B02%3A00` resulted in a `400 Bad Request` response:
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, w (truncated...)
)
How to solve this?
Hello, I'm trying to contribute to your project, but I have met some problem. Your last version v2.0.0-alpha.3 is not merged to master. It's a bit confusing. I believe it would be better to make tags only from master branch.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.