dropthe 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/dropthe.rb +29 -0
- metadata +49 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 53cc8119c732ab91ce3f8ea990ec877c0ff510061123e2ae776537f6bce91c3a
|
|
4
|
+
data.tar.gz: 11c47bc99a99d8f6c012563ab88edcf397e1d05081eb320b66f93e3d261aa585
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: aba729de59451900ec8bb2ad3a2746d97cd84f7c57f99e18c47f3c041459a6a474fbf1dee022a4024cb0ea38c2e5283dc4891a3b08d747057b39771ee8fade28
|
|
7
|
+
data.tar.gz: 33f41b2e607c60b9e8bba74a77750063dcd2957af42a278e6df6c0313b2c05ec5072af434453409bb634c539140ddee6666a95f6a4862eb5364d4432306c1e57
|
data/lib/dropthe.rb
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# DropThe - Ruby client for the DropThe open data platform
|
|
4
|
+
# https://dropthe.org
|
|
5
|
+
#
|
|
6
|
+
# Access open datasets for movies, series, crypto, companies, and people.
|
|
7
|
+
|
|
8
|
+
module DropThe
|
|
9
|
+
VERSION = '0.1.0'
|
|
10
|
+
|
|
11
|
+
BASE_URL = 'https://dropthe.org'
|
|
12
|
+
|
|
13
|
+
ENDPOINTS = {
|
|
14
|
+
movies: '/data/',
|
|
15
|
+
studio: '/studio/',
|
|
16
|
+
statistics: '/data/statistics/',
|
|
17
|
+
methodology: '/good/methodology/'
|
|
18
|
+
}.freeze
|
|
19
|
+
|
|
20
|
+
# Returns the current library version
|
|
21
|
+
def self.version
|
|
22
|
+
VERSION
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# Returns the base API URL
|
|
26
|
+
def self.base_url
|
|
27
|
+
BASE_URL
|
|
28
|
+
end
|
|
29
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: dropthe
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Arnaud Leroy
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-03-28 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: Access open datasets for movies, series, crypto, companies, and people
|
|
14
|
+
from DropThe. Query entities, streaming availability, and knowledge graph relationships.
|
|
15
|
+
email: dropthehq@gmail.com
|
|
16
|
+
executables: []
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- lib/dropthe.rb
|
|
21
|
+
homepage: https://dropthe.org
|
|
22
|
+
licenses:
|
|
23
|
+
- MIT
|
|
24
|
+
metadata:
|
|
25
|
+
homepage_uri: https://dropthe.org
|
|
26
|
+
source_code_uri: https://github.com/BenchGecko/dropthe-ruby
|
|
27
|
+
documentation_uri: https://dropthe.org/data/
|
|
28
|
+
bug_tracker_uri: https://github.com/BenchGecko/dropthe-ruby/issues
|
|
29
|
+
changelog_uri: https://github.com/BenchGecko/dropthe-ruby/blob/main/CHANGELOG.md
|
|
30
|
+
post_install_message:
|
|
31
|
+
rdoc_options: []
|
|
32
|
+
require_paths:
|
|
33
|
+
- lib
|
|
34
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
35
|
+
requirements:
|
|
36
|
+
- - ">="
|
|
37
|
+
- !ruby/object:Gem::Version
|
|
38
|
+
version: '2.5'
|
|
39
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
- - ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: '0'
|
|
44
|
+
requirements: []
|
|
45
|
+
rubygems_version: 3.0.3.1
|
|
46
|
+
signing_key:
|
|
47
|
+
specification_version: 4
|
|
48
|
+
summary: Ruby client for DropThe open data API
|
|
49
|
+
test_files: []
|