課題
使用するAPI
Library
gson - google
https://github.com/google/gson
Gradle
compile 'com.google.code.gson:gson:2.8.2'
Okhttp - square
https://github.com/square/okhttp
Gradle
compile 'com.squareup.okhttp3:okhttp:3.9.0'
Okio - square
https://github.com/square/okio
Gradle
compile 'com.squareup.okio:okio:1.13.0'
Retrofit - square
https://github.com/square/retrofit
Gradle
compile 'com.squareup.retrofit2:retrofit:2.3.0'
Gson Converter Factory - square
https://github.com/square/retrofit/tree/master/retrofit-converters/gson
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.