GithubHelp home page GithubHelp logo

isabella232 / crowdin-dotnet-client-v1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crowdin/crowdin-api-client-dotnet

0.0 0.0 0.0 96 KB

.NET client library for Crowdin API v1

Home Page: https://crowdin.com

License: MIT License

C# 100.00%

crowdin-dotnet-client-v1's Introduction

Crowdin .NET client (v1)

The Crowdin .NET client is a lightweight interface to the Crowdin API v1. It provides common services for making API requests.

Our API is a full-featured RESTful API that helps you to integrate localization into your development process. The endpoints that we use allow you to easily make calls to retrieve information and to execute actions needed.

For more about Crowdin API v1 see the documentation.

Status

Nuget Nuget GitHub issues GitHub contributors GitHub

Azure DevOps builds (branch) Azure DevOps tests (branch)

Requirements

  • .NET Core - 2.1
  • C# language version - 7.3

Installation

  1. Install via NuGet:
// Package Manager
Install-Package Crowdin.Api

// .Net CLI
dotnet add package Crowdin.Api

// PackageReference
<PackageReference Include="Crowdin.Api" />

// Paket CLI
paket add Crowdin.Api
  1. Download this library to your project's 3rd party libraries path:

    git clone https://github.com/crowdin/crowdin-dotnet-client.git </your-project/src/Crowdin.Api>
    

    include library:

    <ItemGroup>
      <ProjectReference Include="src\Crowdin.Api\Crowdin.Api.csproj" />
    </ItemGroup>

    and start using it in your project:

    using Crowdin.Api;

Quick Start

The API client must be instantiated and configured before calling any API method.

var httpClient = new HttpClient {BaseAddress = new Uri(Configuration["api"])};
var crowdin = new Client(httpClient);

var projectId = Configuration["project:projectId"];
var projectCredentials = GetConfigValue<ProjectCredentials>("project");

ProjectInfo project = await crowdin.GetProjectInfo(projectId, projectCredentials);

ConsoleOutput(project);

Please go to the samples section to see more API calls examples.

Contribution

We are happy to accept contributions to the Crowdin .NET client. To contribute please do the following:

  1. Fork the repository on GitHub.
  2. Decide which code you want to submit. Commit your changes and push to the new branch.
  3. Ensure that your code adheres to standard conventions, as used in the rest of the library.
  4. Submit a pull request with your patch on Github.

Seeking Assistance

If you find any problems or would like to suggest a feature, please feel free to file an issue on Github at Issues Page.

Need help working with Crowdin .NET client or have any questions? Contact Customer Success Service.

License

The Crowdin .NET client is licensed under the MIT License.
See the LICENSE file distributed with this work for additional
information regarding copyright ownership.

Except as contained in the LICENSE file, the name(s) of the above copyright
holders shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written authorization.

crowdin-dotnet-client-v1's People

Contributors

andrii-bodnar avatar jasonleenaylor avatar papeh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.