Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Note: THIS IS NOT PRODUCTON CODE. This SDK is example code to get you started making programmatic calls to AlchemyAPI.

================================
AlchemyAPI .NET SDK: version 0.10
================================
Expand All @@ -12,10 +14,10 @@ MONO

INSTALLATION

To compile this module, enter the "module" directory and run the "build.sh"
To compile this module and generate the AlchemyAPI.dll file, enter the "module" directory and run the "build.sh"
script.

To install this module, copy the AlchemyAPI.dll file into your desired
To install this module, copy the AlchemyAPI.dll file created from the previous step into your desired
.NET import directory, or set your MONO_PATH environment variable to point
to the directory containing the compiled AlchemyAPI.dll file.

Expand All @@ -29,7 +31,7 @@ and other tasks.
All code samples are within the "example" directory.

To run these code samples you must first edit the (example/api_key.txt) file,
adding your assigned Orchestr8 API key.
adding your assigned AlchemyAPI API key.

Compiling Code Samples:

Expand Down Expand Up @@ -70,10 +72,10 @@ Windows .NET

INSTALLATION

To compile this module, enter the "module" directory and run the "build"
To compile this module and generate the AlchemyAPI.dll file, enter the "module" directory and run the "build"
script.

To install this module, copy the AlchemyAPI.dll file into your desired
To install this module, copy the AlchemyAPI.dll file generated from the previous step into your desired
.NET import directory. For purposes of running examples, the dll is
copied into the example folder.

Expand All @@ -86,7 +88,7 @@ and other tasks.
All code samples are within the "example" directory.

To run these code samples you must first edit the (example/api_key.txt) file,
adding your assigned Orchestr8 API key.
adding your assigned AlchemyAPI API key.

Compiling Code Samples:

Expand Down
Empty file added example/api_key.txt
Empty file.
4 changes: 2 additions & 2 deletions module/AlchemyAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ private string GET(string callName, string callPrefix, AlchemyAPI_BaseParams par

Uri address = new Uri (uri.ToString());
HttpWebRequest wreq = WebRequest.Create(address) as HttpWebRequest;
wreq.Proxy = GlobalProxySelection.GetEmptyWebProxy();
wreq.Proxy = null;

byte[] postData = parameters.GetPostData();

Expand All @@ -913,7 +913,7 @@ private string POST(string callName, string callPrefix, AlchemyAPI_BaseParams pa
Uri address = new Uri (_requestUri + callPrefix + "/" + callName);

HttpWebRequest wreq = WebRequest.Create(address) as HttpWebRequest;
wreq.Proxy = GlobalProxySelection.GetEmptyWebProxy();
wreq.Proxy = null;
wreq.Method = "POST";
wreq.ContentType = "application/x-www-form-urlencoded";

Expand Down