{"id":17933822,"url":"https://github.com/jacobsvante/mediaflow","last_synced_at":"2026-02-13T08:46:23.080Z","repository":{"id":40321460,"uuid":"486580602","full_name":"jacobsvante/mediaflow","owner":"jacobsvante","description":"Unofficial Mediaflow Rust SDK","archived":false,"fork":false,"pushed_at":"2025-01-24T14:00:41.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T07:49:55.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jacobsvante.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-28T12:15:06.000Z","updated_at":"2025-01-24T14:00:28.000Z","dependencies_parsed_at":"2022-07-12T03:19:36.406Z","dependency_job_id":null,"html_url":"https://github.com/jacobsvante/mediaflow","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobsvante%2Fmediaflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobsvante%2Fmediaflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobsvante%2Fmediaflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobsvante%2Fmediaflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacobsvante","download_url":"https://codeload.github.com/jacobsvante/mediaflow/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251666227,"owners_count":21624291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T21:41:53.848Z","updated_at":"2026-02-13T08:46:18.015Z","avatar_url":"https://github.com/jacobsvante.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mediaflow Rust SDK\n\nThis is an unofficial Rust SDK for [Mediaflow](https://mediaflow.com/).\n\nAPI documentation can be found here: https://static.mediaflowpro.com/doc/\n\nSupports both programmatic and CLI usage (via `cli` feature).\n\n## Beta quality disclaimer\n\nThe project's API is still very much in fluctuation. Pin your dependency to the current minor version to avoid breaking changes. From 1.0 and forward we will keep a stable API.\n\n## CLI\n\nThis is the easiest way to get started. To find out what you can do with the CLI, just append `--help` or `-h` to the installed `mediaflow` command.\n\nPlease note that you need to add the `cli` feature for CLI access. Using [cargo-edit](https://crates.io/crates/cargo-edit) you can do this by calling: `cargo add mediaflow --features cli`\n\n### Config file\nIt's recommended to create an INI config file before using the CLI (see previous section on setup), to avoid having to provide all OAuth 2 details with every command execution.\n\nYou can use `mediaflow default-ini-path` to find the default INI config location.\n```bash\nmediaflow default-ini-path\n```\n\nWrite your settings to the file, in this example using [heredoc syntax](https://en.wikipedia.org/wiki/Here_document):\n```bash\ncat \u003c\u003cEOF \u003e\"$(mediaflow default-ini-path)\"\n[sandbox]\nclient_id = 2tGLiKv\nclient_secret = eu9ZIGXcGNFY8bw0gjQYeNuNoBmk7G\nusername = email@example.com\npassword = myPassword\nEOF\n```\n\nAfter this you just have to provide the section name to start using the CLI:\n```bash\nmediaflow rest-api folder-files --full --recursive 123456\n```\n\n### Environment variables\n\nAs an alternative you can provide environment variables directly. For example:\n```bash\nexport CLIENT_ID=2tGLiKv\nexport CLIENT_SECRET=eu9ZIGXcGNFY8bw0gjQYeNuNoBmk7G\nexport USERNAME=email@example.com\nexport PASSWORD=myPassword\nmediaflow rest-api folder-files -F -r 567890\n```\n\n## Programmatic access\n\nSee example below on how to integrate into your code.\n\n```rust\nuse mediaflow::{Config, RestApi, FileFull};\n\nlet config = Config::new(\n    \"2tGLiKv\",\n    \"eu9ZIGXcGNFY8bw0gjQYeNuNoBmk7G\",\n    \"email@example.com\",\n    \"myPassword\",\n);\nlet api = RestApi::new(config);\nlet files = api.get_folder_files_recursive(123456).await?;\nprintln!(\"Folder with ID 123456 contains {} files\", files.len());\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobsvante%2Fmediaflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacobsvante%2Fmediaflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobsvante%2Fmediaflow/lists"}