package de.kasoki.jfeedly;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

public class Example {
    public static void main(String[] args) {
        Properties prop = new Properties();

        try {
            prop.load(new FileInputStream("settings.properties"));
        } catch (IOException e) {
            e.printStackTrace();
        }

        JFeedly feedly = JFeedly.createSandboxHandler(prop.getProperty("secret_api_key"));

        feedly.authenticate();
    }
}

@@ -383,16 +383,83 @@
      %7D%0A%0A
+        String secretApiKey = prop.getProperty(%22secret_api_key%22);%0A%0A
         
@@ -508,42 +508,20 @@
 ler(
-prop.getProperty(%22secret_api_key%22)
+secretApiKey
 );%0A%0A

read secret key from file