{"id":18082034,"url":"https://github.com/rubenfer/wordpressswift","last_synced_at":"2025-10-07T06:55:50.470Z","repository":{"id":56927635,"uuid":"123936046","full_name":"Rubenfer/WordPressSwift","owner":"Rubenfer","description":"Integrate WordPress on your app.","archived":false,"fork":false,"pushed_at":"2019-09-21T16:47:46.000Z","size":368,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-18T10:53:59.734Z","etag":null,"topics":["app","framwork","ios","swift","wordpress"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/Rubenfer.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-03-05T15:03:14.000Z","updated_at":"2024-01-02T00:24:04.000Z","dependencies_parsed_at":"2022-08-21T04:20:56.880Z","dependency_job_id":null,"html_url":"https://github.com/Rubenfer/WordPressSwift","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Rubenfer/WordPressSwift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rubenfer%2FWordPressSwift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rubenfer%2FWordPressSwift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rubenfer%2FWordPressSwift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rubenfer%2FWordPressSwift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rubenfer","download_url":"https://codeload.github.com/Rubenfer/WordPressSwift/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rubenfer%2FWordPressSwift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278734411,"owners_count":26036404,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["app","framwork","ios","swift","wordpress"],"created_at":"2024-10-31T13:18:01.036Z","updated_at":"2025-10-07T06:55:50.455Z","avatar_url":"https://github.com/Rubenfer.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPressSwift\n\n## Description\n`WordPressSwift` is the easiest way to integrate the WordPress API into your app. You can retreive the blog's categories, posts (filtered by author, date, categories,...), and much more.\n\n## Installation\nIf you're using Xcode 11, you can simply add the Swift Package dependency to your proyect. If you're using an older version of Xcode, you can still using WordPressSwift by copying the Source folder into your project directory.\n\n## Usage\n\n### Obtain posts\n**Class: `WPPost`**  \nClass methods:  \n`getPosts(web:author:numberOfPosts:after:categories:completionHandler:)`  \n`getPosts(web:page:postsPerPage:author:after:categories:completionHandler:)`  \n`getPost(web:id:completionHandler:)`  \n`getPostsMonth(_:month:year:) -\u003e [WPPost]`  \n`getPostsMonth(_:) -\u003e [WPPost]`  \n`getFirstPost(_:) -\u003e WPPost?`  \nInstance methods:  \n`countWords() -\u003e Int`  \n\n**Class: `WPMedia`**  \nClass methods:  \n`getImage(web:id:completionHandler)`  \n\n**Class: `WPCategory`**  \nClass methods:  \n`getCategories(web:completionHandler:)`  \n`getCategory(web:id:completionHandler:)`  \n\n**Class: `WPAuthor`**  \nClass methods:  \n`getAuthors(web:completionHandler:)`  \n`getAuthor(web:id:completionHandler:)`  \n\nFor more information about the usage of available methods, please check the documentation of each one.\n\n## Author\nI'm Rubén Fernández, a Spanish developer. You can send me an [email](mailto:ruben.fdez@icloud.com) or follow me on [Twitter (@RubenApps)](https://twitter.com/RubenApps)\n\n## License\n\n`WordPressSwift` is available under the MIT license. See the [LICENSE](LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubenfer%2Fwordpressswift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubenfer%2Fwordpressswift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubenfer%2Fwordpressswift/lists"}