crawlora-sofascore 0.3.0 → 0.3.1
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 +4 -4
- data/CHANGELOG.md +1 -1
- data/README.md +2 -2
- data/lib/crawlora/sofascore/client.rb +1 -1
- data/lib/crawlora/sofascore/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 045421211b3eff55886a7b1f3280337376f051172ae032b24e469abf7a1451a8
|
|
4
|
+
data.tar.gz: f96099ea1def8f3f47fc7253c97c3d2c77712ca1b01da032563bc9fd166337ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a007ba19176546d0bdb662ddda46ca97fb527e0cf4900152b959e00190ccf220c1eacb6ed5b07c7d51f665af70094973fb1c2199685f930573f492511d2a6283
|
|
7
|
+
data.tar.gz: 01ff1143d8c607186337af3a00468e59791be2517d50ba297ecf14cf9e9fb6ead4ab730cae2a242498745eaf44eed5192d8c79a7e022467412704f61fdec5d16
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This gem calls the Crawlora hosted API at `https://api.crawlora.net/api/v1`. It
|
|
|
8
8
|
gem "crawlora-sofascore"
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Create an account at [crawlora.net](https://crawlora.net/signup), open the [Crawlora console](https://crawlora.net/app) to get an API key, and set `CRAWLORA_API_KEY` before running the client:
|
|
11
|
+
Create an account at [crawlora.net](https://crawlora.net/signup?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-ruby-signup), open the [Crawlora console](https://crawlora.net/app?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-ruby-console) to get an API key, and set `CRAWLORA_API_KEY` before running the client:
|
|
12
12
|
|
|
13
13
|
```ruby
|
|
14
14
|
require "json"
|
|
@@ -30,4 +30,4 @@ client.close
|
|
|
30
30
|
|
|
31
31
|
Client options include `api_key`, `base_url`, and `timeout`. Ruby stdlib provides the HTTP and JSON transport.
|
|
32
32
|
|
|
33
|
-
See [Crawlora](https://crawlora.net
|
|
33
|
+
See [Crawlora](https://crawlora.net/?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-ruby-homepage), the [API documentation](https://crawlora.net/docs?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-ruby-api-docs), and [the package repository](https://github.com/Crawlora-org/crawlora-sofascore) for account setup and the operation reference.
|
|
@@ -29,7 +29,7 @@ module Crawlora
|
|
|
29
29
|
class Client
|
|
30
30
|
attr_reader :base_url
|
|
31
31
|
|
|
32
|
-
def initialize(api_key: ENV["CRAWLORA_API_KEY"], base_url: "https://api.crawlora.net/api/v1", timeout: 30, user_agent: "crawlora-sofascore-ruby/0.3.
|
|
32
|
+
def initialize(api_key: ENV["CRAWLORA_API_KEY"], base_url: "https://api.crawlora.net/api/v1", timeout: 30, user_agent: "crawlora-sofascore-ruby/0.3.1", transport: nil)
|
|
33
33
|
@api_key = api_key
|
|
34
34
|
@base_url = base_url.to_s.sub(%r{/+$}, "")
|
|
35
35
|
@timeout = Float(timeout)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: crawlora-sofascore
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Crawlora
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Credential-free SofaScore API access through Crawlora's hosted service.
|
|
14
14
|
email:
|
|
@@ -22,11 +22,12 @@ files:
|
|
|
22
22
|
- lib/crawlora/sofascore.rb
|
|
23
23
|
- lib/crawlora/sofascore/client.rb
|
|
24
24
|
- lib/crawlora/sofascore/version.rb
|
|
25
|
-
homepage: https://
|
|
25
|
+
homepage: https://crawlora.net/?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-ruby-homepage
|
|
26
26
|
licenses:
|
|
27
27
|
- MIT
|
|
28
28
|
metadata:
|
|
29
29
|
source_code_uri: https://github.com/Crawlora-org/crawlora-sofascore
|
|
30
|
+
documentation_uri: https://crawlora.net/docs?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=sofascore-ruby-api-docs
|
|
30
31
|
rubygems_mfa_required: 'true'
|
|
31
32
|
post_install_message:
|
|
32
33
|
rdoc_options: []
|