An open API service indexing awesome lists of open source software.

https://github.com/andyklimczak/no-embed-jvm


https://github.com/andyklimczak/no-embed-jvm

jvm kotlin

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

## No Embed Wrapper

Simple wrapper of [noEmbed](https://noembed.com/) for the JVM written in Kotlin

```kotlin
val exampleURL: String = "https://www.youtube.com/watch?v=d9IxdwEFk1c"
if (noEmbed.containsNoEmbedUrl(url)) {
val testNoEmbed: NoEmbed = noEmbed.get(exampleURL)
println(testNoEmbed.providerName) // YouTube
}

val testNoEmbed = noEmbed.get("https://bad_url.com") // `NoEmbedException`
```

### Install

```xml


jitpack.io
https://jitpack.io


```
```xml

com.github.andyklimczak
No-Embed-JVM
-SNAPSHOT

```