Page MenuHomePhabricator

Amisha27 (Amisha Baraskar)
User

Projects

User does not belong to any projects.

Today

  • No visible events.

Tomorrow

  • No visible events.

Tuesday

  • No visible events.

User Details

User Since
Oct 12 2022, 7:11 AM (170 w, 3 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Amisha27 [ Global Accounts ]

Recent Activity

Oct 22 2022

Amisha27 added a comment to T318512: Outreachy Application Task (Round 25): Explore Toolhub Data.

Hello @Slst2020. I got a couple of questions as regards task 2

  1. Am I allowed to upload an image of my plot to this platform for opinion?
  2. Will I have to visualize all 2000+ tools data dictionary returned by my task 2 function?
Oct 22 2022, 5:40 PM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects

Oct 17 2022

Amisha27 added a comment to T318512: Outreachy Application Task (Round 25): Explore Toolhub Data.

@Amisha27, @Durotimi-Hector.
Alternatively, you can use the endpoint:
https://toolhub.wikimedia.org/api/search/tools/?q=name:pywikibot. This will return only the results that have the query parameter value (pywikibot) in the name field. I found that the backend was using elasticsearch, which makes this possible.

Next, select the top item from the list of results, that is, data["results"][0].
This will always be the tool that matches the query parameter value.

Please I will really appreciate your feedbacks on this approach

Oct 17 2022, 9:22 AM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects

Oct 16 2022

Amisha27 added a comment to T318512: Outreachy Application Task (Round 25): Explore Toolhub Data.

Hi @Slst2020 and everyone,

In task 3, we have to use TOOLS_API_ENDPOINT = "https://toolhub.wikimedia.org/api/search/tools" can you please clarify which parameter we can use to retrieve the data of a single tool. I have tried using "name_term" parameter but it is returning empty results array and also used "q" parameter but it is returning many tools that almost matching with the tool name pattern.
For eg:
using API_ENDPOINT/?q=toolforge-graphql it is returning 1573 tools.

Please clarify if there is a way to retrieve a single tool or if can i move ahead with "q" parameter.

while working with the said API, i observed that most of the query parameters will return more than one reult. This because its a "SEARCH" feauture and will not bring only the exact tool you need but any other tool that contains the same set of strings.
if you search for piwikibot for example, you'd get other tools that have piwikibot in their name string, or depending on whatever param you're are using to query the db.

what i did was to loop the result of the search and find the tool that == the tool need

i hope this helps

Oct 16 2022, 2:15 PM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects
Amisha27 added a comment to T318512: Outreachy Application Task (Round 25): Explore Toolhub Data.

Hi @Slst2020 and everyone,

Oct 16 2022, 12:40 PM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects