Baltimore’s always-crowded animal shelters are always looking for people to adopt a pet. Now a new Twitter account is getting the word out about what furry friends are available.
@CutePetsBaltimore is a Twitter bot that processes animal shelter data to show pets that are currently up for adoption at BARCS and the Baltimore Humane Society. More shelters could be added in the coming weeks.
The Twitter account is the direct result of a panel on civic tech at last week’s Baltimore Data Day. Moderator Sharon Paley presented a few ideas on creative uses of data, including @CutePetsDenver. Panelist Ryan J. Smith, who spoke that day about his BmoreMapped project, lamented with Paley afterwards that Baltimore didn’t have a similar idea.
So he woke up the next morning and started work on an account for Baltimore.
Hi! My name is Babette. I'm a Female Domestic Shorthair/Mix. Adopt me at: http://t.co/JCK2QqwlyM pic.twitter.com/0mFrLmTvTV
— Cute Pets Baltimore (@CutePetsBmore) July 17, 2015
“I went out Sunday afternoon and bought a Raspberry Pi to run my bot on,” Smith said. “Then in the evenings from Monday to Wednesday I sat down and wrote the code to run the bot.”
Less than a week later, it’s live.
Smith built the bot using a Python script that fetches shelter data from the animal adoption website Petango, then formats it into tweets.
“As far as I know, Petango doesn’t have an API for providing nicely formatted data, so my script scrapes the page and manually parses out the relevant data,” Smith said.
He’s using the Raspberry Pi to host the bot, which he said is a “cheap, low-cost, low-energy” alternative to servers like Heroku.
In case anyone from another city wants to add to the cuddly CutePets empire, Smith put the script on GitHub. Here’s a list of CutePets Twitter accounts that are currently operational. If your city’s not on there, get on it.
Before you go...
Please consider supporting Technical.ly to keep our independent journalism strong. Unlike most business-focused media outlets, we don’t have a paywall. Instead, we count on your personal and organizational support.
3 ways to support our work:- Contribute to the Journalism Fund. Charitable giving ensures our information remains free and accessible for residents to discover workforce programs and entrepreneurship pathways. This includes philanthropic grants and individual tax-deductible donations from readers like you.
- Use our Preferred Partners. Our directory of vetted providers offers high-quality recommendations for services our readers need, and each referral supports our journalism.
- Use our services. If you need entrepreneurs and tech leaders to buy your services, are seeking technologists to hire or want more professionals to know about your ecosystem, Technical.ly has the biggest and most engaged audience in the mid-Atlantic. We help companies tell their stories and answer big questions to meet and serve our community.
Join our growing Slack community
Join 5,000 tech professionals and entrepreneurs in our community Slack today!