Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 9f754b4 Nov 13, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
webapi Add tutorial Nov 13, 2017
.gitignore Update readme Oct 30, 2017
LICENSE.txt Add license Nov 11, 2016
README.md Update README.md Nov 17, 2017
api-doc.md Update api-doc.md Nov 13, 2018

README.md

課題

https://sites.google.com/cps.im.dendai.ac.jp/netpro2017/9_webapi?authuser=0

使用するAPI

Livedoor Weather Web Service

Library

gson - google

https://github.com/google/gson

JARダウンロードはこちら

Gradle

compile 'com.google.code.gson:gson:2.8.2'

Okhttp - square

https://github.com/square/okhttp

JARダウンロードはこちら

Gradle

compile 'com.squareup.okhttp3:okhttp:3.9.0'

Okio - square

https://github.com/square/okio

JARダウンロードはこちら

Gradle

compile 'com.squareup.okio:okio:1.13.0'

Retrofit - square

https://github.com/square/retrofit

JARダウンロードはこちら

Gradle

compile 'com.squareup.retrofit2:retrofit:2.3.0'

Gson Converter Factory - square

https://github.com/square/retrofit/tree/master/retrofit-converters/gson

JARダウンロードはこちら

Gradle

compile 'com.squareup.retrofit2:converter-gson:latest.version'

説明資料

Okhttp + Gson を使ったJavaによるWebAPI入門

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You can’t perform that action at this time.