We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5718113 commit a0a4b41Copy full SHA for a0a4b41
README.md
@@ -17,6 +17,14 @@ Heavily inspired by [youtube-transcript](https://github.com/Kakulukian/youtube-t
17
18
## Usage
19
20
+Library using one simple function to fetch transcript
21
+
22
+```swift
23
+fetchTranscript(for videoId: String,config: TranscriptConfig = .init()) async throws -> [TranscriptResponse]
24
+```
25
26
+Example:
27
28
```swift
29
import YoutubeTranscript
30
@@ -82,7 +90,7 @@ And add `YoutubeTranscript` as a dependency for your target:
82
90
83
91
84
92
.target(
85
- name: "YourTarget",
93
+ name: "<target>",
86
94
dependencies: [
87
95
.product(name: "YoutubeTranscript", package: "swift-youtube-transcript")
88
96
]
0 commit comments