Skip to content

Conversation

@paduszyk
Copy link
Owner

@paduszyk paduszyk commented Nov 2, 2023

Description

This adds the gitmojis.core module with a definition of the fetch_guide function. The function sends a GET request to the official Gitmoji API and fetches the Gitmoji guide from the response's JSON data.

The introduced changes use the requests library.

@paduszyk paduszyk added the feature New feature or request label Nov 2, 2023
@paduszyk paduszyk self-assigned this Nov 2, 2023
@codecov
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Merging #9 (9b499c0) into main (a94eb4e) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         5    +3     
  Lines           19        41   +22     
  Branches         2         3    +1     
=========================================
+ Hits            19        41   +22     
Files Coverage Δ
src/gitmojis/__init__.py 100.00% <100.00%> (ø)
src/gitmojis/core.py 100.00% <100.00%> (ø)
src/gitmojis/defaults.py 100.00% <100.00%> (ø)
src/gitmojis/exceptions.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@paduszyk paduszyk merged commit 5133fab into main Nov 2, 2023
@paduszyk paduszyk deleted the feature/no-ref/enable-fetching-gitmoji-data-from-api branch November 2, 2023 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants