We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 264fa40 commit 7d2668cCopy full SHA for 7d2668c
Api2Pdf.Examples/Program.cs
@@ -5,9 +5,15 @@ namespace Api2Pdf.Examples
5
{
6
class Program
7
8
- public const string API_KEY = "YOUR-API-KEY";
+ public const string API_KEY = "";
9
static void Main(string[] args)
10
11
+ if (string.IsNullOrEmpty(API_KEY))
12
+ {
13
+ Console.WriteLine("Set API Key variable before running script");
14
+ return;
15
+ }
16
+
17
Console.WriteLine("Starting up...");
18
19
var a2pClient = new Api2Pdf(API_KEY);
0 commit comments