Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
Improve Readme and add simple JSON serialization, v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
petersamokhin committed Nov 26, 2020
1 parent 68d76e4 commit c16f212
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/kotlin/com/petersamokhin/notionapi/Notion.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,11 @@ import com.petersamokhin.notionapi.request.QueryNotionCollectionRequest
import com.petersamokhin.notionapi.request.base.NotionRequest
import com.petersamokhin.notionapi.utils.dashifyId
import io.ktor.client.*
import io.ktor.client.engine.cio.*
import io.ktor.client.features.*
import io.ktor.client.features.json.*
import io.ktor.client.features.json.serializer.*
import io.ktor.client.request.*
import io.ktor.client.statement.*
import io.ktor.http.*
import io.ktor.util.*
import kotlinx.serialization.Serializable
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.decodeFromJsonElement

class Notion internal constructor(token: String, private var httpClient: HttpClient) {
init {
Expand Down

0 comments on commit c16f212

Please sign in to comment.