PhraseStrings.Api 1.1.0

dotnet add package PhraseStrings.Api --version 1.1.0                
NuGet\Install-Package PhraseStrings.Api -Version 1.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PhraseStrings.Api" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PhraseStrings.Api --version 1.1.0                
#r "nuget: PhraseStrings.Api, 1.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PhraseStrings.Api as a Cake Addin
#addin nuget:?package=PhraseStrings.Api&version=1.1.0

// Install PhraseStrings.Api as a Cake Tool
#tool nuget:?package=PhraseStrings.Api&version=1.1.0                

PhraseStringsApi.Net

NuGet latest version

Api for Phrase Strings solution

<img src="/Phrase.png" width="100" height="100" />

.Net Library for interfacing with Phrase Strings api

Supported functions for now :

  • Projects
    • GetAll
    • GetAll(wildcard query)
    • GetByName
    • Add
    • GetLocales
    • AddLocale
  • Translations
    • GetAll(projectId, perPage = 100, page)
    • GetByLocale
    • GetByKey
    • Add
    • Update
  • Keys
    • GetAll
    • GetById
    • GetByName
    • Search
    • Add
    • Delete
  • Webhooks
    • GetAll
    • Add
    • Update
    • ActionFilterAttribute to manage Phrase webhook request integrity

Get startred

Get an API key (Token) from your Phrase account

Open your statup.cs, and use that code :

services.AddPhraseStrings("Your Token");

For test project you have to change settings from appsettings.json file

  "Phrase": {
    "TokenAPI": "[Your Token]",
    "TestProjectId": "[A Project Id]"
  }
}

Enjoy !

<a href="https://www.buymeacoffee.com/phnogues" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 6,178 4/15/2024
1.0.1 21,783 10/5/2023
1.0.0 158 10/2/2023
0.1.0.4 4,112 9/12/2023
0.1.0.3 177 9/11/2023
0.1.0.2 159 9/11/2023
0.1.0.1 150 9/11/2023
0.1.0 133 9/11/2023
0.0.4.7 184 9/8/2023
0.0.4.6 160 9/8/2023
0.0.4.5 158 9/7/2023
0.0.4.4 167 9/7/2023
0.0.4.3 160 9/7/2023
0.0.4.2 158 9/6/2023
0.0.4.1 159 9/6/2023
0.0.4 151 9/6/2023
0.0.3.1 222 9/5/2023
0.0.3 152 9/5/2023
0.0.2 149 9/4/2023
0.0.1 164 8/31/2023