SpinRewriterAPI 1.0.0

dotnet add package SpinRewriterAPI --version 1.0.0                
NuGet\Install-Package SpinRewriterAPI -Version 1.0.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="SpinRewriterAPI" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SpinRewriterAPI --version 1.0.0                
#r "nuget: SpinRewriterAPI, 1.0.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 SpinRewriterAPI as a Cake Addin
#addin nuget:?package=SpinRewriterAPI&version=1.0.0

// Install SpinRewriterAPI as a Cake Tool
#tool nuget:?package=SpinRewriterAPI&version=1.0.0                

Spin Rewriter - Article Rewriter with ENL Semantic Spinning (for C# and NuGet)

The only article spinner that truly understands the meaning of your content.

With ENL technology, Spin Rewriter is the perfect tool for SEO specialists that need unique, human-quality content to rank higher on Google.

How to use Spin Rewriter Tutorial

Why Spin Rewriter? Start ranking higher, for more keywords.

You already know that quality unique content does wonders for your Google rankings. You also know that such content takes ages to write — or it costs you an arm and two legs if you hire someone to write it for you.

Spin Rewriter saves you both time and money. It takes a single article and turns it into dozens of 100% unique, human-quality articles. All these unique articles will let you rank higher, and for more profitable keywords.

What are the benefits of our API?

As a user, Spin Rewriter API allows you to use the ENL Semantic Spinning spinning technology inside other compatible software products.

This means that you can — for example — spin your articles using our amazing technology directly inside your favorite article distribution software.

You never have to load the Spin Rewriter website and interrupt your workflow by spinning your article here, and then pasting it to your article distribution software. You can use Spin Rewriter directly from compatible desktop software products, online services, WordPress plugins, etc.

As a developer, you can use the amazing Spin Rewriter technology inside your own application or service. Whenever you need to rewrite a block of text, simply send it to our servers and Spin Rewriter will do all the hard work for you. We developed our algorithms — you make the most of them!

Installation for C# and .NET (NuGet package)

The preferred way to install the library is through NuGet.

Run NuGet console (Package Manager Console):

PM> Install-Package SpinRewriterAPI

The package is available at https://www.nuget.org/packages/SpinRewriterAPI/

Basic usage example

///////////////////////////////////////////////////////////////////////////////
//
// Spin Rewriter API for C# (NuGet) example of how to generate unique variation.
//
// Note: Spin Rewriter API server is using a 120-second timeout.
// Client scripts should use a 150-second timeout to allow for HTTP connection
// overhead.
//
// SDK Version    : v1.0
// Language       : C# (.NET for NuGet)
// Dependencies   : SpinRewriterAPI
// Website        : https://www.spinrewriter.com/
// Contact email  : info@spinrewriter.com
//
// C# SDK Author  : Bartosz Wójcik (https://www.pelock.com)
//
///////////////////////////////////////////////////////////////////////////////

using System;
using System.Collections.Generic;
using System.Text;
using SpinRewriter;

namespace sample_sdk_api_quota
{
    class Program
    {
        static void Main(string[] args)
        {
            // your Spin Rewriter email address goes here
            var email_address = "test@example.com";

            // your unique Spin Rewriter API key goes here
            var api_key = "1ab234c#d5e67fg_h8ijklm?901n234";

            // Authenticate yourself.
            var spinrewriter_api = new SpinRewriterAPI(email_address, api_key);

            /*
             * (optional) Set a list of protected terms.
             * You can use one of the following formats:
             * - protected terms are separated by the '\n' (newline) character
             * - protected terms are separated by commas (comma-separated list)
             * - protected terms are stored in a string[] array
             */
            var protected_terms = "John, Douglas Adams, then";
            //var protected_terms = "John\nDouglas\nAdams\nthen";
            //string[] protected_terms =  { "John", "Douglas", "Adams", "then" };

            // (optional) Set whether the One-Click Rewrite process automatically protects Capitalized Words outside the article's title.
            spinrewriter_api.setAutoProtectedTerms(false);

            // (optional) Set the confidence level of the One-Click Rewrite process.
            spinrewriter_api.setConfidenceLevel(ConfidenceLevels.Medium);

            // (optional) Set whether the One-Click Rewrite process uses nested spinning syntax (multi-level spinning) or not.
            spinrewriter_api.setNestedSpintax(true);

            // (optional) Set whether Spin Rewriter rewrites complete sentences on its own.
            spinrewriter_api.setAutoSentences(false);

            // (optional) Set whether Spin Rewriter rewrites entire paragraphs on its own.
            spinrewriter_api.setAutoParagraphs(false);

            // (optional) Set whether Spin Rewriter writes additional paragraphs on its own.
            spinrewriter_api.setAutoNewParagraphs(false);

            // (optional) Set whether Spin Rewriter changes the entire structure of phrases and sentences.
            spinrewriter_api.setAutoSentenceTrees(false);

            // (optional) Sets whether Spin Rewriter should only use synonyms (where available) when generating spun text.
            spinrewriter_api.setUseOnlySynonyms(false);

            // (optional) Sets whether Spin Rewriter should intelligently randomize the order of paragraphs and lists when generating spun text.
            spinrewriter_api.setReorderParagraphs(false);

            // (optional) Sets whether Spin Rewriter should automatically enrich generated articles with headings, bullet points, etc.
            spinrewriter_api.setAddHTMLMarkup(false);

            // (optional) Sets whether Spin Rewriter should automatically convert line-breaks to HTML tags.
            spinrewriter_api.setUseHTMLLinebreaks(false);

            // Make the actual API request and save the response as a native JSON object.
            var text = "John will book a room. Then he will read a book by Douglas Adams.";

            // The return value is a JsonValue array type object or null on error
            var response = spinrewriter_api.getUniqueVariation(text);

            if (response != null)
            {
                Console.WriteLine(response.ToString());

                // To access individual response values access them
                // like an array entries (declare its type at the front,
                // because JSON can return different types strings, bools etc.)
                //
                // if (response.ContainsKey("status"))
                // {
                //    string status = response["status"];
                //    Console.WriteLine((string)response["status"]);
                // }
                //
                // etc.
            }
            else
            {
                Console.WriteLine("Spin Rewriter API error");
            }

            Console.WriteLine("\nPress any key to quit...");
            Console.ReadKey();
        }
    }
}

Need help, have some questions?

For more information visit our site https://www.spinrewriter.com/

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 2.0

    • No dependencies.

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.0.0 562 2/3/2021