Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
python-pod-client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public-projects
python-pod-client
Commits
2467b974
Commit
2467b974
authored
5 years ago
by
Stéphane Schoorens
Browse files
Options
Downloads
Patches
Plain Diff
add example in README refs #29848
parent
b75d042f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+13
-0
13 additions, 0 deletions
README.md
with
13 additions
and
0 deletions
README.md
+
13
−
0
View file @
2467b974
...
...
@@ -2,6 +2,19 @@
python3 implementation of a pod client
pod is a video cms for educational https://github.com/EsupPortail/Esup-Pod
# Client API
all rest resources will be create on PodClient object and usable like that:
```
#!/usr/bin/env python3
pod_client
=
PodClient
(
HOST
,
API_KEY
)
# fetch all videos
pod_client
.
videos
.
get
()
# fetch video id 1
pod_client
.
videos
.
get
(
resource_id
=
1
)
```
# build
`make build`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment