BekoSan.APIHelper 1.0.0

This package help you in connecting with any api and make  (POST,PUT,DELETE,GET) actions.

Requires NuGet 1.0.0 or higher.

Install-Package BekoSan.APIHelper -Version 1.0.0
dotnet add package BekoSan.APIHelper --version 1.0.0
<PackageReference Include="BekoSan.APIHelper" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BekoSan.APIHelper --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BekoSan.APIHelper, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install BekoSan.APIHelper as a Cake Addin
#addin nuget:?package=BekoSan.APIHelper&version=1.0.0

// Install BekoSan.APIHelper as a Cake Tool
#tool nuget:?package=BekoSan.APIHelper&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

API Helper

How to use?

  • Install form nuget package via visual studio or form nuget website directlly.
  • after installing in your project use this code in your program.cs or any file that used as initializer for your project type.
ApiHelperConfig.InitializeClient();
  • To use api actions there is a class called DataProcessor that contains methods for (GET,POST,PUT,DELETE) actions.

  • Example

    here i try to read data form an api , to do this i will use this code.

NOTE: when you call any one of this methods you have to do this inside of an aysnc method.

var result = await DataProcessor.Get<[YourDataModelType]>("your get end point url");

NOTE: This Get method will return an IEnumerable of type you spcified.

API Helper

How to use?

  • Install form nuget package via visual studio or form nuget website directlly.
  • after installing in your project use this code in your program.cs or any file that used as initializer for your project type.
ApiHelperConfig.InitializeClient();
  • To use api actions there is a class called DataProcessor that contains methods for (GET,POST,PUT,DELETE) actions.

  • Example

    here i try to read data form an api , to do this i will use this code.

NOTE: when you call any one of this methods you have to do this inside of an aysnc method.

var result = await DataProcessor.Get<[YourDataModelType]>("your get end point url");

NOTE: This Get method will return an IEnumerable of type you spcified.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 224 4/8/2020