API-Medium

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

  "dist_author" => [
    "Thomas Klausner <domm\@plix.at>"
  ],
  "dist_name" => "API-Medium",
  "dist_version" => "0.902",
  "license" => "perl",
  "module_name" => "API::Medium",
  "recursive_test_files" => 1,
  "requires" => {
    "HTTP::Tiny" => 0,
    "JSON::MaybeXS" => 0,
    "Log::Any" => 0,
    "Module::Runtime" => 0,
    "Moose" => 0
  },
  "test_requires" => {
    "File::Spec" => 0,
    "File::Temp" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,
    "Test::More" => 0,

META.json  view on Meta::CPAN

         }
      },
      "configure" : {
         "requires" : {
            "Module::Build" : "0.28"
         }
      },
      "runtime" : {
         "requires" : {
            "HTTP::Tiny" : "0",
            "JSON::MaybeXS" : "0",
            "Log::Any" : "0",
            "Module::Runtime" : "0",
            "Moose" : "0"
         }
      },
      "test" : {
         "requires" : {
            "File::Spec" : "0",
            "File::Temp" : "0",
            "IO::Handle" : "0",

META.json  view on Meta::CPAN

      },
      "homepage" : "https://github.com/domm/API-Medium",
      "repository" : {
         "type" : "git",
         "url" : "https://github.com/domm/API-Medium.git",
         "web" : "https://github.com/domm/API-Medium"
      }
   },
   "version" : "0.902",
   "x_generated_by_perl" : "v5.32.0",
   "x_serialization_backend" : "Cpanel::JSON::XS version 4.25",
   "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}

cpanfile  view on Meta::CPAN

# This file is generated by Dist::Zilla::Plugin::CPANFile v6.017
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.

requires "HTTP::Tiny" => "0";
requires "JSON::MaybeXS" => "0";
requires "Log::Any" => "0";
requires "Module::Runtime" => "0";
requires "Moose" => "0";

on 'build' => sub {
  requires "Module::Build" => "0.28";
};

on 'test' => sub {
  requires "File::Spec" => "0";

lib/API/Medium.pm  view on Meta::CPAN

package API::Medium;

# ABSTRACT: Talk with medium.com using their REST API
our $VERSION = '0.902'; # VERSION

use Moose;
use HTTP::Tiny;
use Log::Any qw($log);
use JSON::MaybeXS;
use Module::Runtime 'use_module';

has 'server' => (
    isa     => 'Str',
    is      => 'ro',
    default => 'https://api.medium.com/v1',
);

has 'access_token' => (
    isa      => 'Str',



( run in 0.783 second using v1.01-cache-2.11-cpan-140bd7fdf52 )