itigoppo / backlog-api Goto Github PK
View Code? Open in Web Editor NEWPHP library for Backlog API v2.
License: MIT License
PHP library for Backlog API v2.
License: MIT License
You can access the Backlog API in two ways:
(1) API key or
(2) OAuth 2.0.
See Authentication & Authorization for details.
The current implementation is focused on (1).
How about adding the support for (2) as well?
API KEYによる認証後、「認証ユーザー情報の取得」を実行した際にエラーが発生しました。
※エラーの詳細は下記参照。
■エラーが発生した処理
$backlog->users->myself();
■エラーの内容
Client error: `GET https://{SPACE NAME}.backlog.jp/api/v2/users/myself?apiKey={API KEY}` resulted in a `404 Not Found` response: {"errors":[{"message":"Not Found Space.","code":6,"moreInfo":""}]}
PHP 7.2.16
Laravel Framework 5.5
ホスト名のルートドメインが「jp」になっている
https://{SPACE NAME}.backlog.jp/api/v2/users/myself?apiKey={API KEY}
ホスト名のルートドメインを「com」に変更する
https://github.com/itigoppo/backlog-api/blob/master/src/Connector/Connector.php#L7
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.