タグ

devとapiに関するginpeiのブックマーク (7)

  • Legacy custom integrations tokens

    Using legacy custom integrations is an outdated way for teams to integrate with Slack. Legacy custom integrations lack newer features and will be deprecated and possibly removed in the future. We do not recommend their use. We recommend using their replacement: Slack apps. Slack apps can be built just for your own workspace or distributed through the App Directory, and they can use the latest and

    Legacy custom integrations tokens
    ginpei
    ginpei 2016/12/16
    Slack API用トークンを管理するページ。全チーム。
  • RESTful API設計におけるHTTPステータスコードの指針 - Qiita

    RESTful APIを設計した際のステータスコードの指針です。 メソッド別 GET 成功した場合 200 OK:最も一般的 304 Not Modified:条件付きGETでキャッシュを使わせたい場合 POST 成功した場合 201 Created 作成したリソースのURIを示すLocationヘッダを付けておく 議論 200 OKだとまずいのか? 200 OKを応答する実装も多くあり、まずいというわけでもない 200 OKはPOST結果がキャッシュ可能、201 CreatedはPOST結果がキャッシュ不可能として分けてもいいが、そこまでする必要があるか?(POSTのキャッシュは一般的ではない) 204 No Contentだとまずいのか? クライアントがPOST結果を事前に全て知っているわけではないのでNo Contentは不親切では? 失敗した場合 409 Conflict:作成しよ

    RESTful API設計におけるHTTPステータスコードの指針 - Qiita
    ginpei
    ginpei 2016/11/30
    メソッドと処理結果によって応答ステータスコードを決める。「議論」も載ってるの嬉しい。
  • Twilio for KDDI Web Communications | クラウド電話API

    「サービス」をプラスして、ビジネス課題を解決。 「インサイト」をプラスして、期待を超えるサポートを提供。 「パートナー」をプラスして、開発実務をお手伝い。 「チャネル」をプラスして、コミュニケーションに選択肢を。 さまざまなものを組み合わせて、お客様にとっての最適解を提供します。 サービスの導入後も隣で伴走し続ける、最高のパートナーを目指して。

    Twilio for KDDI Web Communications | クラウド電話API
    ginpei
    ginpei 2016/07/01
    合成音声の電話をかけたりSMS送信したりできるAPI。
  • LINE BOT API Trialでできる全ての事を試してみた - Qiita

    4/7 18:00頃にLINEの「BOT API Trial Account」が無償提供されたと聞いてとりあえず触ってみたら出来る事は結構少なかったので勢いで全て試してみた。 [追記 4/14 9:28] Facebook Messenger Platform BETAでできる全ての事を試してみた(LINE BOT APIとの比較あり)も合わせてどうぞ。 [追記 4/9 11:49] 現在、巷で話題のLet's Encrypt問題以外でコールバックがコールされない問題があるらしいのでご注意を。 [追記 4/9 12:49] 上記の問題は解決した模様。 まずはアカウント登録 ※先着10,000名って少ない気がするけどまだ登録できるって事はそんなに人気ないのかな。 https://business.line.me/ja/products/4/introduction BOT API が利用開始

    LINE BOT API Trialでできる全ての事を試してみた - Qiita
    ginpei
    ginpei 2016/04/09
    LINEのBot APIでできる事とやるコード実例。
  • JavaScript API Hall of Shame

    In this day and age it is pretty common to design a large-scale web application as a collection of modular and reusable components. These components need to have a reasonable set of APIs (application programming interfaces) which deliver against the stipulated engineering criteria. In addition this API set needs to retain ease of use. The success of a module is thus reflected in the way it is bein

    JavaScript API Hall of Shame
    ginpei
    ginpei 2014/05/01
    文書は読まれないので、すぐ分かるAPI設計をしようという話。「真偽値は引数に直接使わない」「I/F共通化」「状態を適切に表現する命名」
  • User(Graph API)

    2011年03月30日21:23 by oklahomer User(Graph API) カテゴリドキュメントAPI ユーザのプロフィール。このオブジェクトはverified property以外に関してはReal-Time Updatesをサポートします。 目次: ExamplePropertiesConnections Examplehttps://graph.facebook.com/me (current user) PropertiesNameDescriptionPermissionsReturnsidユーザのFacebook ID 全体に公開 JSON string nameユーザのフルネーム 全体に公開 JSON string first_nameユーザのファーストネーム 全体に公開 JSON string last_nameユーザのラストネーム 全体に公開 JSON s

    User(Graph API)
    ginpei
    ginpei 2013/04/27
    Facebook Graph APIで取得できるユーザー関連の情報の、キーやパーミッション等の一覧表、の邦訳。
  • このページを見るには、ログインまたは登録してください

    Facebookで投稿や写真などをチェックできます。

    このページを見るには、ログインまたは登録してください
    ginpei
    ginpei 2013/04/27
    FacebookのGraph APIを試せるやつ。パラメーターを与えて戻ってくる値をすぐ確認できる。
  • 1