Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Inside API.Leipzig
Search
Benjamin Knofe
April 17, 2012
Technology
98
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Inside API.Leipzig
Benjamin Knofe
April 17, 2012
Other Decks in Technology
See All in Technology
RSA暗号を手計算したくなること、ありますよね?? (20260615_orestudy6_rsa)
thousanda
0
330
2026TECHFRESH畢業分享會 - AI 時代的人生存檔點
line_developers_tw
PRO
0
940
エラーバジェットのアラートのタイミングを考える.pdf
kairim0
0
140
"何を作るか"を任される エンジニアは、どう育つのか
yutaokafuji
1
660
自律型AIエージェントは何を破壊するのか
kojira
0
160
連合学習と機密コンピューティング
lycorptech_jp
PRO
0
110
チームで進めるAI駆動アジャイル×ウォーターフォール
kumaiu
0
160
FDE という解 ― 暗黙知と明示知をつなぐ、伴走型エンジニアリング ―
otanet
0
150
AIのReact習熟度を測る
uhyo
2
320
新しいVibe Codingと”自走”について
watany
6
310
非定型業務をAI slackbotで自動化する ~ 社内要望を自動壁打ちするbotを作った ~/automating-ad-hoc-work-with-ai-slackbot
shibayu36
0
640
日本 Fintech 未来予測レポート 2027〜2028年(手動編集版)
8maki
0
2.2k
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7.1k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
Deep Space Network (abreviated)
tonyrice
0
170
The Cost Of JavaScript in 2023
addyosmani
55
10k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
AI: The stuff that nobody shows you
jnunemaker
PRO
8
710
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Marketing to machines
jonoalderson
1
5.4k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
HDC tutorial
michielstock
2
710
Navigating Team Friction
lara
192
16k
Transcript
Inside API.Leipzig 17. April 2012 - Leipzig on Rails -
sublab Ben(jamin Knofe) @videosynthesis http://www.videosynthesis.net/
* seit Dezember 2011 * 30 > 10 > 5
Beteiligte * 145 angemeldete Nutzer * 8309 requests/33 aktive Nutzer im März
* 1 Server (HE VServer L) * nginx 1.1.13 +
passenger 3.0.11 * mySQL 5.0.51a * 3 Apps + Frontpage * MIT / CC-BY
* API: Sinatra 1.3.2 + activerecord 3.0.11 * Panel: Rails
2.3.14 * Wiki: Instiki master
curl -i -X GET http://www.apileipzig.de/api/v1/calendar/events HTTP/1.1 403 Forbidden Content-Type: text/javascript;charset=utf-8
Content-Length: 40 Connection: keep-alive Status: 403 X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.11 X-Frame-Options: sameorigin X-XSS-Protection: 1; mode=block Server: nginx/1.1.13 + Phusion Passenger 3.0.11 (mod_rails/mod_rack) {"error":"No permission(s) to do this."}
curl -i -X GET http://www.apileipzig.de/api/v1/calendar/events -d 'api_key=psewqGJMryqsrzrcALa' HTTP/1.1 200 OK
{ "data": [ { "venue_id":10, "id":1, "updated_at":"2011-07-04T10:44:47+02:00", … }, … ] }
curl -X POST http://www.apileipzig.de/api/v1/calendar/hosts -d 'api_key=psewqGJMryqsrzrcALa' -d 'first_name=Leipzig' -d 'last_name=on
Rails' { "success": { "id":24, "message":"Host was saved with id = 24." } }
curl -X GET http://www.apileipzig.de/api/v1/calendar/hosts/24 -d 'api_key=psewqGJMryqsrzrcALa' { "id":24, "first_name":"Leipzig", "last_name":"on
Rails", "mobile":null, "created_at":"2012-04-17T14:28:33+02:00", "updated_at":"2012-04-17T14:28:33+02:00", "url":null, "phone":null }
curl -X GET http://www.apileipzig.de/api/v1/calendar/venues/search -d 'api_key=psewqGJMryqsrzrcALa' -d 'q=sub' { "data":
[ { "id":30, "name":"sublab e.V.”, … } ] }
curl -X POST http://www.apileipzig.de/api/v1/calendar/events -d 'api_key=psewqGJMryqsrzrcALa' -d 'category_id=2' -d 'venue_id=30'
-d 'host_id=24' -d 'name=Leipzig on Rails Treffen im April' -d 'description=Immer mit spannenden Vorträgen. Kostenfrei.' -d 'date_from=2012-04-17' -d 'time_from=19:30:00' { "success": { "id":33, "message":"Event was saved with id = 33." } }
https://github.com/apileipzig http://travis-ci.org/#!/apileipzig/api http://www.apileipzig.de/ @apileipzig