Download the PHP package bitween-software/dev-to-open-api-client without Composer

On this page you can find all versions of the php package bitween-software/dev-to-open-api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dev-to-open-api-client

OpenAPIClient-php

Access Forem articles, users and other resources via API.

For a real-world example of Forem in action, check out DEV.

All endpoints that don't require authentication are CORS enabled.

Dates and date times, unless otherwise specified, must be in the RFC 3339 format.

Authentication

For more information, please visit https://dev.to/contact.

Installation & Usage

Requirements

PHP 7.2 and later.

Composer

To install the bindings via Composer, add the following to composer.json:

Then run composer install

Manual Installation

Download the files and include autoload.php:

Getting Started

Please follow the installation procedure and then run the following:

API Endpoints

All URIs are relative to https://dev.to/api

Class Method HTTP request Description
AdminConfigurationApi getConfig GET /admin/config Admin config
AdminConfigurationApi upsertConfig PUT /admin/config Update Site-wide Config
ArticlesApi createArticle POST /articles Create a new article
ArticlesApi getArticleById GET /articles/{id} A published article by ID
ArticlesApi getArticleByPath GET /articles/{username}/{slug} A published article by path
ArticlesApi getArticles GET /articles Published articles
ArticlesApi getArticlesWithVideo GET /videos Articles with a video
ArticlesApi getUserAllArticles GET /articles/me/all User's all articles
ArticlesApi getUserArticles GET /articles/me User's articles
ArticlesApi getUserPublishedArticles GET /articles/me/published User's published articles
ArticlesApi getUserUnpublishedArticles GET /articles/me/unpublished User's unpublished articles
ArticlesApi updateArticle PUT /articles/{id} Update an article
CommentsApi getCommentById GET /comments/{id} Comment
CommentsApi getCommentsByArticleId GET /comments Comments
FollowersApi getFollowers GET /followers/users Followers
FollowsApi getFollowedTags GET /follows/tags Followed tags
ListingsApi createListing POST /listings Create a new listing
ListingsApi getListingById GET /listings/{id} A listing
ListingsApi getListings GET /listings Published listings
ListingsApi getListingsByCategory GET /listings/category/{category} Published listings by category
ListingsApi updateListing PUT /listings/{id} Update a listing
OrganizationsApi getOrgArticles GET /organizations/{username}/articles Organization's Articles
OrganizationsApi getOrgListings GET /organizations/{username}/listings Organization's listings
OrganizationsApi getOrgUsers GET /organizations/{username}/users Organization's users
OrganizationsApi getOrganization GET /organizations/{username} An organization
PodcastEpisodesApi getPodcastEpisodes GET /podcast_episodes Published podcast episodes
ProfileImagesApi getProfileImage GET /profile_images/{username} User or organization profile picture
ReadinglistApi getReadinglist GET /readinglist User's reading list
TagsApi getFollowedTags GET /follows/tags Followed tags
TagsApi getTags GET /tags Tags
UsersApi getUser GET /users/{id} A user
UsersApi getUserAllArticles GET /articles/me/all User's all articles
UsersApi getUserArticles GET /articles/me User's articles
UsersApi getUserMe GET /users/me The authenticated user
UsersApi getUserPublishedArticles GET /articles/me/published User's published articles
UsersApi getUserUnpublishedArticles GET /articles/me/unpublished User's unpublished articles
VideosApi getArticlesWithVideo GET /videos Articles with a video
WebhooksApi createWebhook POST /webhooks Create a new webhook
WebhooksApi deleteWebhook DELETE /webhooks/{id} A webhook endpoint
WebhooksApi getWebhookById GET /webhooks/{id} A webhook endpoint
WebhooksApi getWebhooks GET /webhooks Webhooks

Models

Authorization

api_key

oauth2

oauth2

Tests

To run the tests, use:

Author

[email protected]

About this package

This PHP package is automatically generated by the OpenAPI Generator project:


All versions of dev-to-open-api-client with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bitween-software/dev-to-open-api-client contains the following files

Loading the files please wait ....